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.001209/0.00121, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001142/0.001142, allocations: 190.4 kB / 16.25 MB, free: 6.645 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.475/1.475, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.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.533/2.533, allocations: 390.2 MB / 0.6643 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 59.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9027/0.9046, allocations: 140.4 MB / 0.9491 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003593/0.9082, allocations: 1.929 MB / 0.951 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.9094, allocations: 0.6411 MB / 0.9516 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.341e-05/0.9095, allocations: 6.688 kB / 0.9516 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002264/0.9097, allocations: 23.98 kB / 0.9516 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000342/0.9101, allocations: 97.94 kB / 0.9517 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003315/0.9104, allocations: 136.9 kB / 0.9518 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003178/0.9108, allocations: 222 kB / 0.9521 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.9109, allocations: 46.42 kB / 0.9521 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.9111, allocations: 106.2 kB / 0.9522 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009339/0.9204, allocations: 0.7888 MB / 0.953 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.348e-05/0.9205, allocations: 16.78 kB / 0.953 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.9207, allocations: 35.77 kB / 0.953 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.301e-05/0.9208, allocations: 43.52 kB / 0.9531 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.9209, allocations: 81.39 kB / 0.9531 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003962/0.9213, allocations: 213.9 kB / 0.9533 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.9213, allocations: 1.125 kB / 0.9533 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.925e-06/0.9213, allocations: 7.984 kB / 0.9534 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.775e-05/0.9214, allocations: 0 / 0.9534 GB, free: 6.094 MB / 0.7169 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.0008138/0.9222, allocations: 0.5288 MB / 0.9539 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.9222, allocations: 8.875 kB / 0.9539 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.9224, allocations: 23.53 kB / 0.9539 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.9227, allocations: 238.7 kB / 0.9541 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.9227, allocations: 10.53 kB / 0.9541 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.6e-05/0.9228, allocations: 19.28 kB / 0.9542 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.923, allocations: 93.89 kB / 0.9543 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.923, allocations: 8.938 kB / 0.9543 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.923, allocations: 5.75 kB / 0.9543 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.9231, allocations: 5.062 kB / 0.9543 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.9232, allocations: 54.12 kB / 0.9543 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009435/0.9241, allocations: 477.8 kB / 0.9548 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.9243, allocations: 82.61 kB / 0.9549 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.028e-05/0.9244, allocations: 31.03 kB / 0.9549 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.9244, allocations: 10.16 kB / 0.9549 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/0.9246, allocations: 93.84 kB / 0.955 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/0.9246, allocations: 0 / 0.955 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.0004275/0.9251, allocations: 144.5 kB / 0.9551 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.9251, allocations: 55.19 kB / 0.9552 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.9254, allocations: 191.2 kB / 0.9554 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.9254, allocations: 33.52 kB / 0.9554 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.9255, allocations: 125.8 kB / 0.9555 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.807e-05/0.9255, allocations: 37.19 kB / 0.9555 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.9257, allocations: 54.66 kB / 0.9556 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.056e-05/0.9258, allocations: 326.5 kB / 0.9559 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.226e-05/0.9258, allocations: 29.86 kB / 0.9559 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.9261, allocations: 130.5 kB / 0.9561 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.9263, allocations: 101.3 kB / 0.9562 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.9263, allocations: 0 / 0.9562 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002586/0.9265, allocations: 153.1 kB / 0.9563 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.9266, allocations: 7.125 kB / 0.9563 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.9266, allocations: 224 / 0.9563 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/0.9266, allocations: 7.906 kB / 0.9563 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.9267, allocations: 23.27 kB / 0.9563 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.9268, allocations: 6.859 kB / 0.9563 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.927, allocations: 20.78 kB / 0.9564 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.927, allocations: 11.3 kB / 0.9564 GB, free: 3.422 MB / 0.7169 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.0001509/0.9272, allocations: 145 kB / 0.9565 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.881e-05/0.9272, allocations: 15.66 kB / 0.9565 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002536/0.9275, allocations: 133.7 kB / 0.9567 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.9275, allocations: 5.688 kB / 0.9567 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.9275, allocations: 0 / 0.9567 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.9275, allocations: 0 / 0.9567 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00054/0.928, allocations: 461 kB / 0.9571 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.9281, allocations: 1.375 kB / 0.9571 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-05/0.9281, allocations: 9.438 kB / 0.9571 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.9281, allocations: 3.938 kB / 0.9571 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.9281, allocations: 5.359 kB / 0.9571 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.9281, allocations: 1.375 kB / 0.9571 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.9281, allocations: 0 / 0.9571 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.9284, allocations: 221.7 kB / 0.9573 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.979e-05/0.9285, allocations: 95.62 kB / 0.9574 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.9285, allocations: 9.359 kB / 0.9574 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.9286, allocations: 8.406 kB / 0.9574 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.506e-05/0.9287, allocations: 19.28 kB / 0.9575 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/0.9287, allocations: 9.25 kB / 0.9575 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001337/0.9289, allocations: 140.8 kB / 0.9576 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9289, allocations: 0 / 0.9576 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003507/0.9292, allocations: 48.78 kB / 0.9577 GB, free: 2.328 MB / 0.7169 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.0004087/0.9296, allocations: 164.2 kB / 0.9578 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002701/0.9299, allocations: 103 kB / 0.9579 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.9299, allocations: 0 / 0.9579 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.116e-05/0.93, allocations: 43.58 kB / 0.9579 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.9304, allocations: 49.02 kB / 0.958 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007069/0.9312, allocations: 347.3 kB / 0.9583 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.9314, allocations: 0.7279 MB / 0.959 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001196/0.9315, allocations: 23.09 kB / 0.9591 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.336e-05/0.9316, allocations: 27.05 kB / 0.9591 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.9316, allocations: 0 / 0.9591 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of Templates: time 0.01162/0.9432, allocations: 3.223 MB / 0.9622 GB, free: 15.49 MB / 0.7325 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches