Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9881/0.9881, allocations: 177.1 MB / 204.2 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.79/1.79, allocations: 377.9 MB / 0.6236 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sca.y.[0-9,]+.|sca1.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter") translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sca.y.[0-9,]+.|sca1.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 0.8115 GB, free: 1.754 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.196e-05, allocations: 8.641 kB / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002248/0.00227, allocations: 1.836 MB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.003309, allocations: 0.6101 MB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.677e-05/0.003386, allocations: 4.906 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001997/0.003586, allocations: 19.73 kB / 0.8139 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003504/0.003936, allocations: 128 kB / 0.814 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.00424, allocations: 148.5 kB / 0.8142 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003889/0.004629, allocations: 231.4 kB / 0.8144 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.004756, allocations: 30.97 kB / 0.8144 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006399/0.01115, allocations: 2.369 MB / 0.8167 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.0113, allocations: 87.77 kB / 0.8168 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.16e-05/0.01134, allocations: 16 kB / 0.8168 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.513e-05/0.01141, allocations: 36.59 kB / 0.8169 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.206e-05/0.01146, allocations: 39.83 kB / 0.8169 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.098e-05/0.01153, allocations: 56.94 kB / 0.817 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002688/0.0118, allocations: 171.3 kB / 0.8171 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.0118, allocations: 0 / 0.8171 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.91e-07/0.01181, allocations: 0.9062 kB / 0.8171 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.708e-06/0.01181, allocations: 0 / 0.8171 GB, free: 12.92 MB / 0.7761 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.0005953/0.01241, allocations: 0.5751 MB / 0.8177 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.01244, allocations: 12.03 kB / 0.8177 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.723e-05/0.01251, allocations: 26.66 kB / 0.8177 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.01271, allocations: 186.2 kB / 0.8179 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.01273, allocations: 8.562 kB / 0.8179 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.01276, allocations: 23.88 kB / 0.8179 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.01289, allocations: 77.59 kB / 0.818 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.0129, allocations: 2.188 kB / 0.818 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.01291, allocations: 7.984 kB / 0.818 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.01292, allocations: 4 kB / 0.818 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.361e-05/0.01298, allocations: 38.72 kB / 0.8181 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005469/0.01353, allocations: 419.5 kB / 0.8185 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.01364, allocations: 67.03 kB / 0.8185 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.098e-05/0.01367, allocations: 15.69 kB / 0.8185 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.01369, allocations: 11.98 kB / 0.8186 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001068/0.0138, allocations: 92.95 kB / 0.8186 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.0138, allocations: 4 kB / 0.8186 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14): time 0.0002242/0.01402, allocations: 114.1 kB / 0.8188 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.01406, allocations: 59.39 kB / 0.8188 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.0142, allocations: 241 kB / 0.819 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.01422, allocations: 38.22 kB / 0.8191 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.815e-05/0.0143, allocations: 167.3 kB / 0.8192 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.01432, allocations: 28.31 kB / 0.8193 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-05/0.01438, allocations: 64.73 kB / 0.8193 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.0145, allocations: 0.5039 MB / 0.8198 GB, free: 9.973 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.276e-05/0.01453, allocations: 19.98 kB / 0.8198 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001915/0.01473, allocations: 262.5 kB / 0.8201 GB, free: 9.629 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.256e-05/0.01482, allocations: 104.8 kB / 0.8202 GB, free: 9.508 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01482, allocations: 0 / 0.8202 GB, free: 9.508 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001538/0.01497, allocations: 142.3 kB / 0.8203 GB, free: 9.363 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.01499, allocations: 8.156 kB / 0.8203 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.01499, allocations: 8.922 kB / 0.8203 GB, free: 9.348 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.01501, allocations: 3.938 kB / 0.8203 GB, free: 9.344 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.632e-05/0.01508, allocations: 17.34 kB / 0.8204 GB, free: 9.328 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.01509, allocations: 7.984 kB / 0.8204 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.537e-05/0.01517, allocations: 23.83 kB / 0.8204 GB, free: 9.297 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.01518, allocations: 8.875 kB / 0.8204 GB, free: 9.289 MB / 0.7761 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 8.968e-05/0.01527, allocations: 180.3 kB / 0.8206 GB, free: 9.102 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.01529, allocations: 21.39 kB / 0.8206 GB, free: 9.082 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001405/0.01543, allocations: 115.1 kB / 0.8207 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.01543, allocations: 4 kB / 0.8207 GB, free: 8.961 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.01544, allocations: 0 / 0.8207 GB, free: 8.961 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.01544, allocations: 7.641 kB / 0.8207 GB, free: 8.957 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003242/0.01577, allocations: 425.2 kB / 0.8211 GB, free: 8.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.01577, allocations: 0 / 0.8211 GB, free: 8.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.275e-05/0.01579, allocations: 7.938 kB / 0.8211 GB, free: 8.492 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.01579, allocations: 0 / 0.8211 GB, free: 8.492 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.0158, allocations: 7.938 kB / 0.8211 GB, free: 8.484 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.0158, allocations: 0 / 0.8211 GB, free: 8.484 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.0158, allocations: 0 / 0.8211 GB, free: 8.484 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.01595, allocations: 267.2 kB / 0.8214 GB, free: 8.207 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.965e-05/0.01598, allocations: 20.8 kB / 0.8214 GB, free: 8.188 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.01599, allocations: 7.938 kB / 0.8214 GB, free: 8.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.666e-05/0.01604, allocations: 13.08 kB / 0.8214 GB, free: 8.168 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.121e-05/0.01609, allocations: 11.92 kB / 0.8214 GB, free: 8.156 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.01611, allocations: 15.98 kB / 0.8215 GB, free: 8.141 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.646e-05/0.01619, allocations: 165.3 kB / 0.8216 GB, free: 7.98 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01619, allocations: 0 / 0.8216 GB, free: 7.98 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002011/0.01639, allocations: 49 kB / 0.8217 GB, free: 7.934 MB / 0.7761 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.0002898/0.01668, allocations: 176.9 kB / 0.8218 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001567/0.01683, allocations: 74.56 kB / 0.8219 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01684, allocations: 1.094 kB / 0.8219 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.672e-05/0.01689, allocations: 47.59 kB / 0.8219 GB, free: 7.652 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.01714, allocations: 55.06 kB / 0.822 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000424/0.01756, allocations: 291.6 kB / 0.8223 GB, free: 7.297 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.324e-05/0.0176, allocations: 75.97 kB / 0.8224 GB, free: 7.203 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.932e-05/0.01765, allocations: 17.48 kB / 0.8224 GB, free: 7.184 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.067e-05/0.01769, allocations: 24.48 kB / 0.8224 GB, free: 7.16 MB / 0.7761 GB Notification: Performance of SimCode: time 6.72e-07/0.01769, allocations: 3.938 kB / 0.8224 GB, free: 7.156 MB / 0.7761 GB Notification: Performance of Templates: time 0.00543/0.02312, allocations: 3.757 MB / 0.8261 GB, free: 3.457 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Examples_Scatter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.057818477042019]