Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001093/0.001093, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002526/0.003619, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0008428/0.0008428, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001051/0.001894, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9824/0.9824, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09014/1.073, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.397/2.397, allocations: 446.7 MB / 0.6745 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2742/2.671, allocations: 145.9 MB / 0.817 GB, free: 4.223 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Utilities.Plotters.Examples.Scatter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.8183 GB, free: 2.945 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.108e-05/2.257e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.941 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002263/0.002286, allocations: 1.888 MB / 0.8201 GB, free: 1.035 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007916/0.003078, allocations: 0.6119 MB / 0.8207 GB, free: 432 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.873e-05/0.003146, allocations: 0 / 0.8207 GB, free: 432 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001061/0.003252, allocations: 27.73 kB / 0.8207 GB, free: 404 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0002125/0.003465, allocations: 119.2 kB / 0.8208 GB, free: 284 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.003718, allocations: 155.6 kB / 0.821 GB, free: 128 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0002246/0.003942, allocations: 219.6 kB / 0.8212 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.671e-05/0.004039, allocations: 26.44 kB / 0.8212 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006288/0.01033, allocations: 2.396 MB / 0.8236 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.0105, allocations: 91.8 kB / 0.8237 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.12e-05/0.01054, allocations: 12 kB / 0.8237 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.71e-05/0.01061, allocations: 35.92 kB / 0.8237 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.699e-05/0.01066, allocations: 31.86 kB / 0.8237 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.938e-05/0.01072, allocations: 43.88 kB / 0.8238 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.01096, allocations: 139.5 kB / 0.8239 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.624e-05/0.01097, allocations: 3.938 kB / 0.8239 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.12e-07/0.01098, allocations: 0 / 0.8239 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.795e-05/0.01099, allocations: 0 / 0.8239 GB, free: 14.1 MB / 0.8073 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.0005992/0.01159, allocations: 487.2 kB / 0.8244 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.01163, allocations: 16.61 kB / 0.8244 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.95e-05/0.01168, allocations: 20.92 kB / 0.8244 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.01187, allocations: 166.3 kB / 0.8246 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.01189, allocations: 12.56 kB / 0.8246 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.01191, allocations: 23.92 kB / 0.8246 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.01202, allocations: 69.66 kB / 0.8247 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.01203, allocations: 0 / 0.8247 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.01204, allocations: 7.984 kB / 0.8247 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.01205, allocations: 8 kB / 0.8247 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.565e-05/0.01209, allocations: 23.92 kB / 0.8247 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004594/0.01255, allocations: 274.9 kB / 0.825 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.299e-05/0.01264, allocations: 50.55 kB / 0.825 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.199e-05/0.01267, allocations: 16.86 kB / 0.825 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.01269, allocations: 11.94 kB / 0.825 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001002/0.01279, allocations: 79.34 kB / 0.8251 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=14): time 2.324e-06/0.01279, allocations: 3.984 kB / 0.8251 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14): time 0.0001477/0.01294, allocations: 89.88 kB / 0.8252 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.01298, allocations: 63.33 kB / 0.8253 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.01309, allocations: 191.8 kB / 0.8255 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.01312, allocations: 29.7 kB / 0.8255 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.772e-05/0.01318, allocations: 112.5 kB / 0.8256 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.0132, allocations: 35.72 kB / 0.8256 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-05/0.01326, allocations: 53.66 kB / 0.8257 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.006e-05/0.01334, allocations: 338.7 kB / 0.826 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.944e-05/0.01336, allocations: 12 kB / 0.826 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.01352, allocations: 226.9 kB / 0.8262 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.436e-05/0.0136, allocations: 79.62 kB / 0.8263 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.0136, allocations: 0 / 0.8263 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001087/0.01371, allocations: 113.5 kB / 0.8264 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.01372, allocations: 4 kB / 0.8264 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.01373, allocations: 4 kB / 0.8264 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.789e-06/0.01374, allocations: 0 / 0.8264 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.851e-05/0.01381, allocations: 23.98 kB / 0.8264 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.01382, allocations: 7.938 kB / 0.8264 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.742e-05/0.0139, allocations: 23.88 kB / 0.8265 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.0139, allocations: 4 kB / 0.8265 GB, free: 11.22 MB / 0.8073 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 7.945e-05/0.01398, allocations: 132.4 kB / 0.8266 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.603e-05/0.014, allocations: 20.11 kB / 0.8266 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.0141, allocations: 91.06 kB / 0.8267 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.01411, allocations: 3.984 kB / 0.8267 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.01411, allocations: 0 / 0.8267 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.01411, allocations: 0 / 0.8267 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/0.01436, allocations: 294.5 kB / 0.827 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.01437, allocations: 3.984 kB / 0.827 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.359e-05/0.01439, allocations: 8 kB / 0.827 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.458e-05/0.01441, allocations: 11.91 kB / 0.827 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.01442, allocations: 8 kB / 0.827 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.01442, allocations: 7.984 kB / 0.827 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.01443, allocations: 7.875 kB / 0.827 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.01443, allocations: 0 / 0.827 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.381e-05/0.01452, allocations: 182.7 kB / 0.8272 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.01453, allocations: 0 / 0.8272 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.634e-05/0.01458, allocations: 11.98 kB / 0.8272 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.789e-05/0.01462, allocations: 15.91 kB / 0.8272 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.01463, allocations: 8 kB / 0.8272 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.816e-05/0.01467, allocations: 48.8 kB / 0.8273 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01467, allocations: 0 / 0.8273 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001635/0.01483, allocations: 43.94 kB / 0.8273 GB, free: 10.28 MB / 0.8073 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.0003026/0.01514, allocations: 164 kB / 0.8275 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001119/0.01525, allocations: 71.28 kB / 0.8276 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.01526, allocations: 4 kB / 0.8276 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.71e-05/0.01529, allocations: 36.58 kB / 0.8276 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.01549, allocations: 62.39 kB / 0.8277 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005141/0.016, allocations: 303.1 kB / 0.8279 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.228e-05/0.01604, allocations: 75.98 kB / 0.828 GB, free: 9.562 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.479e-05/0.01609, allocations: 17.48 kB / 0.828 GB, free: 9.547 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.01622, allocations: 101.3 kB / 0.8281 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of SimCode: time 6.11e-07/0.01622, allocations: 0 / 0.8281 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of Templates: time 0.005249/0.02147, allocations: 3.709 MB / 0.8318 GB, free: 5.801 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter/Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.ref.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.395628030411899]