Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 108.5 kB / 16.36 MB, free: 6.285 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.00126/0.00126, allocations: 192 kB / 17.29 MB, free: 5.863 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.18/1.18, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 1.995/1.995, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.3 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2305, allocations: 140.4 MB / 0.9511 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.002924/0.2334, allocations: 1.727 MB / 0.9528 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.2347, allocations: 0.9085 MB / 0.9537 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.333e-05/0.2348, allocations: 0 / 0.9537 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001744/0.235, allocations: 27.72 kB / 0.9537 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003405/0.2353, allocations: 123.3 kB / 0.9538 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.2357, allocations: 159.6 kB / 0.954 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002768/0.236, allocations: 243.3 kB / 0.9542 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.2361, allocations: 41.66 kB / 0.9542 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.2362, allocations: 111.7 kB / 0.9544 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008835/0.2451, allocations: 1.66 MB / 0.956 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.14e-05/0.2452, allocations: 20 kB / 0.956 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.39e-05/0.2453, allocations: 36 kB / 0.956 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.159e-05/0.2453, allocations: 43.83 kB / 0.9561 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.2454, allocations: 99.55 kB / 0.9562 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003053/0.2458, allocations: 219.2 kB / 0.9564 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2458, allocations: 0 / 0.9564 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2458, allocations: 0 / 0.9564 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.2458, allocations: 0 / 0.9564 GB, free: 3.105 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000763/0.2466, allocations: 0.5489 MB / 0.9569 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.2466, allocations: 8.031 kB / 0.9569 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.065e-05/0.2467, allocations: 28.73 kB / 0.9569 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/0.247, allocations: 247.3 kB / 0.9572 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.247, allocations: 15.94 kB / 0.9572 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.247, allocations: 15.98 kB / 0.9572 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.2472, allocations: 107.4 kB / 0.9573 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.2472, allocations: 3.984 kB / 0.9573 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.2472, allocations: 4 kB / 0.9573 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.2473, allocations: 4 kB / 0.9573 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.976e-05/0.2474, allocations: 55.91 kB / 0.9574 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007802/0.2481, allocations: 0.5357 MB / 0.9579 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.2483, allocations: 97.31 kB / 0.958 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.148e-05/0.2484, allocations: 45.7 kB / 0.958 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.2484, allocations: 7.984 kB / 0.958 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002184/0.2486, allocations: 121 kB / 0.9582 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.263e-06/0.2486, allocations: 0 / 0.9582 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0003001/0.2489, allocations: 165.1 kB / 0.9583 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.249, allocations: 85.09 kB / 0.9584 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.2492, allocations: 198.5 kB / 0.9586 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.2492, allocations: 37.69 kB / 0.9586 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.54e-05/0.2493, allocations: 124.4 kB / 0.9587 GB, free: 428 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.2493, allocations: 27.64 kB / 0.9588 GB, free: 400 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.498e-05/0.2494, allocations: 65.8 kB / 0.9588 GB, free: 328 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.2495, allocations: 334.8 kB / 0.9592 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.891e-05/0.2496, allocations: 31.98 kB / 0.9592 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.2498, allocations: 131.6 kB / 0.9593 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.25, allocations: 113.9 kB / 0.9594 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.25, allocations: 0 / 0.9594 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002309/0.2502, allocations: 165.2 kB / 0.9596 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.2502, allocations: 8 kB / 0.9596 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.2502, allocations: 0 / 0.9596 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.2503, allocations: 4 kB / 0.9596 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.789e-05/0.2504, allocations: 23.86 kB / 0.9596 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2504, allocations: 4 kB / 0.9596 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.2506, allocations: 27.83 kB / 0.9596 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.2506, allocations: 4 kB / 0.9596 GB, free: 15.42 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,scaDel.sampleTrigger,scaDel.tActivateLast,$PRE.scaDel.tActivateLast,scaDel.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001152/0.2507, allocations: 153.7 kB / 0.9598 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.2507, allocations: 19.8 kB / 0.9598 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.148e-05/0.2508, allocations: 17.53 kB / 0.9598 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2508, allocations: 0 / 0.9598 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.2508, allocations: 0 / 0.9598 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.2508, allocations: 7.984 kB / 0.9598 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005254/0.2513, allocations: 466.1 kB / 0.9603 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2513, allocations: 4 kB / 0.9603 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.467e-05/0.2514, allocations: 7.984 kB / 0.9603 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.2514, allocations: 4 kB / 0.9603 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.2514, allocations: 4 kB / 0.9603 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.2514, allocations: 3.938 kB / 0.9603 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2514, allocations: 0 / 0.9603 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.2516, allocations: 228.1 kB / 0.9605 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.456e-05/0.2517, allocations: 100.9 kB / 0.9606 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.2517, allocations: 4 kB / 0.9606 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.2518, allocations: 19.92 kB / 0.9606 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.265e-05/0.2519, allocations: 19.97 kB / 0.9607 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.2519, allocations: 4 kB / 0.9607 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001065/0.2521, allocations: 144.5 kB / 0.9608 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2521, allocations: 0 / 0.9608 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002893/0.2523, allocations: 43.98 kB / 0.9608 GB, free: 14.1 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002705/0.2526, allocations: 173 kB / 0.961 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001995/0.2528, allocations: 103.8 kB / 0.9611 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.2528, allocations: 0 / 0.9611 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.352e-05/0.2529, allocations: 55.86 kB / 0.9612 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.2533, allocations: 53.77 kB / 0.9612 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005335/0.2539, allocations: 316 kB / 0.9615 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.2541, allocations: 0.7203 MB / 0.9622 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.897e-05/0.2542, allocations: 21.55 kB / 0.9622 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.031e-05/0.2543, allocations: 31.42 kB / 0.9623 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of SimCode: time 2.01e-07/0.2543, allocations: 0 / 0.9623 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of Templates: time 0.006661/0.2609, allocations: 3.643 MB / 0.9658 GB, free: 8.996 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches