Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sca.y.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter") translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sca.y.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 110.3 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 185.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.244/2.244, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 63.91 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9435/0.945, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003338/0.9483, allocations: 1.781 MB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.9495, allocations: 0.5981 MB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.675e-05/0.9496, allocations: 1.688 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001952/0.9498, allocations: 27.2 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003733/0.9502, allocations: 121.5 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003832/0.9506, allocations: 153.8 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003251/0.951, allocations: 227.6 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.9511, allocations: 34.06 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.9512, allocations: 109.2 kB / 1.092 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004592/0.9558, allocations: 0.8005 MB / 1.092 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.851e-05/0.9559, allocations: 16.91 kB / 1.092 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.956, allocations: 36.09 kB / 1.092 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.503e-05/0.9561, allocations: 45.52 kB / 1.092 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.9562, allocations: 88.84 kB / 1.093 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004078/0.9566, allocations: 205 kB / 1.093 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.9566, allocations: 0 / 1.093 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.492e-06/0.9567, allocations: 1 kB / 1.093 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.064e-06/0.9567, allocations: 4 kB / 1.093 GB, free: 3.172 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0007714/0.9574, allocations: 0.5386 MB / 1.093 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.9575, allocations: 9.094 kB / 1.093 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.426e-05/0.9576, allocations: 19.8 kB / 1.093 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002663/0.9579, allocations: 244.7 kB / 1.093 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.9579, allocations: 7.016 kB / 1.093 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.408e-05/0.9579, allocations: 15 kB / 1.094 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.9581, allocations: 100.9 kB / 1.094 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.9582, allocations: 0 / 1.094 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.9582, allocations: 5.875 kB / 1.094 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.9582, allocations: 6.547 kB / 1.094 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.9583, allocations: 53.75 kB / 1.094 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008347/0.9592, allocations: 468.8 kB / 1.094 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.9593, allocations: 85.94 kB / 1.094 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.861e-05/0.9594, allocations: 30.59 kB / 1.094 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.9594, allocations: 2.078 kB / 1.094 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001952/0.9596, allocations: 107.5 kB / 1.094 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.9596, allocations: 4 kB / 1.094 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.0003483/0.96, allocations: 147.2 kB / 1.094 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.96, allocations: 54.52 kB / 1.095 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.9602, allocations: 185.8 kB / 1.095 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.516e-05/0.9603, allocations: 34.28 kB / 1.095 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.623e-05/0.9604, allocations: 123.3 kB / 1.095 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.9604, allocations: 34.56 kB / 1.095 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.806e-05/0.9605, allocations: 57.97 kB / 1.095 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.084e-05/0.9606, allocations: 328.2 kB / 1.095 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.462e-05/0.9607, allocations: 28.34 kB / 1.095 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.9609, allocations: 127.2 kB / 1.095 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.9611, allocations: 103.4 kB / 1.096 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.9611, allocations: 0 / 1.096 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002697/0.9614, allocations: 151.5 kB / 1.096 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.9614, allocations: 5.906 kB / 1.096 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.9614, allocations: 5.5 kB / 1.096 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.9614, allocations: 6.844 kB / 1.096 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.9615, allocations: 19.09 kB / 1.096 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.9616, allocations: 3.031 kB / 1.096 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.9618, allocations: 24.23 kB / 1.096 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.9618, allocations: 5.781 kB / 1.096 GB, free: 0.7812 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (sca1.sampleTrigger,sca1.tActivateLast,$PRE.sca1.tActivateLast,sca1.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001264/0.9619, allocations: 136.6 kB / 1.096 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.321e-05/0.962, allocations: 16.03 kB / 1.096 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002481/0.9622, allocations: 138.9 kB / 1.096 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.9622, allocations: 1.156 kB / 1.096 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.9622, allocations: 0 / 1.096 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.9622, allocations: 2.078 kB / 1.096 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005686/0.9628, allocations: 461.6 kB / 1.096 GB, free: 208 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.9628, allocations: 4.5 kB / 1.096 GB, free: 204 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.851e-05/0.9629, allocations: 7.203 kB / 1.096 GB, free: 204 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.9629, allocations: 1.188 kB / 1.096 GB, free: 204 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.9629, allocations: 9.547 kB / 1.096 GB, free: 196 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.9629, allocations: 4.609 kB / 1.096 GB, free: 192 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.9629, allocations: 1.344 kB / 1.096 GB, free: 192 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002254/0.9632, allocations: 215.8 kB / 1.097 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.9633, allocations: 104.9 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.92e-05/0.9633, allocations: 5.703 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.9634, allocations: 6.812 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.824e-05/0.9635, allocations: 20.39 kB / 1.097 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.9635, allocations: 6.297 kB / 1.097 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001536/0.9637, allocations: 137.2 kB / 1.097 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9637, allocations: 0 / 1.097 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003375/0.964, allocations: 45.92 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (sca1.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,sca1.active,sca1.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003728/0.9644, allocations: 155.7 kB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002634/0.9647, allocations: 98.2 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.9647, allocations: 1.531 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.9648, allocations: 48.48 kB / 1.097 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004328/0.9653, allocations: 55.75 kB / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007467/0.966, allocations: 322.6 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.9664, allocations: 0.7265 MB / 1.098 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.836e-05/0.9665, allocations: 25.84 kB / 1.098 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.9665, allocations: 0 / 1.098 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of Templates: time 0.008062/0.9745, allocations: 3.028 MB / 1.101 GB, free: 14.34 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches