Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 101.4 kB / 16.35 MB, free: 5.875 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.001153/0.001153, allocations: 198.8 kB / 17.3 MB, free: 5.516 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.231/1.231, allocations: 222.9 MB / 241 MB, free: 14.99 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.981/1.981, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 67.27 kB / 0.814 GB, free: 32.6 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2301, allocations: 140.4 MB / 0.9511 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002562/0.2327, allocations: 1.62 MB / 0.9527 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008956/0.2336, allocations: 0.5733 MB / 0.9533 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.128e-05/0.2337, allocations: 0 / 0.9533 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001519/0.2338, allocations: 35.72 kB / 0.9533 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002892/0.2341, allocations: 103.5 kB / 0.9534 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.2344, allocations: 147.7 kB / 0.9535 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.2347, allocations: 223.4 kB / 0.9537 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.2348, allocations: 25.55 kB / 0.9538 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.2349, allocations: 99.72 kB / 0.9539 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008282/0.2432, allocations: 1.576 MB / 0.9554 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.729e-05/0.2432, allocations: 16 kB / 0.9554 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.866e-05/0.2433, allocations: 39.98 kB / 0.9555 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.582e-05/0.2434, allocations: 31.91 kB / 0.9555 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.827e-05/0.2435, allocations: 83.56 kB / 0.9556 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.2438, allocations: 195.3 kB / 0.9558 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2438, allocations: 0 / 0.9558 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2438, allocations: 0 / 0.9558 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.2438, allocations: 0 / 0.9558 GB, free: 3.723 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006624/0.2445, allocations: 0.5293 MB / 0.9563 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.2445, allocations: 8.031 kB / 0.9563 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.741e-05/0.2446, allocations: 20.75 kB / 0.9563 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.2448, allocations: 232.5 kB / 0.9565 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.2449, allocations: 7.938 kB / 0.9565 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.2449, allocations: 16 kB / 0.9565 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.245, allocations: 77.66 kB / 0.9566 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.2451, allocations: 0 / 0.9566 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.2451, allocations: 4 kB / 0.9566 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.2451, allocations: 4 kB / 0.9566 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.67e-05/0.2452, allocations: 47.97 kB / 0.9567 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006856/0.2459, allocations: 440.3 kB / 0.9571 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.246, allocations: 66.56 kB / 0.9572 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.477e-05/0.2461, allocations: 33.03 kB / 0.9572 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.2461, allocations: 3.938 kB / 0.9572 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001412/0.2462, allocations: 87.36 kB / 0.9573 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 2.564e-06/0.2462, allocations: 0 / 0.9573 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12): time 0.0002638/0.2465, allocations: 141.3 kB / 0.9574 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.2465, allocations: 51.41 kB / 0.9575 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.2467, allocations: 183.2 kB / 0.9576 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.2468, allocations: 37.64 kB / 0.9577 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.244e-05/0.2468, allocations: 119.9 kB / 0.9578 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.2469, allocations: 31.77 kB / 0.9578 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.688e-05/0.247, allocations: 49.69 kB / 0.9579 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.2471, allocations: 330.8 kB / 0.9582 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.905e-05/0.2471, allocations: 20 kB / 0.9582 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.2473, allocations: 119.7 kB / 0.9583 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.2474, allocations: 96.03 kB / 0.9584 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2474, allocations: 0 / 0.9584 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001997/0.2477, allocations: 137.4 kB / 0.9585 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.2477, allocations: 8 kB / 0.9585 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2477, allocations: 3.938 kB / 0.9585 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.2477, allocations: 4 kB / 0.9585 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.898e-05/0.2478, allocations: 11.94 kB / 0.9586 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.2478, allocations: 7.938 kB / 0.9586 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.248, allocations: 23.83 kB / 0.9586 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.248, allocations: 4 kB / 0.9586 GB, free: 0.5352 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,scaDel.tActivateLast,$PRE.scaDel.tActivateLast,scaDel.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 (18): * Single equations (assignments): 18 * 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.0001074/0.2481, allocations: 134 kB / 0.9587 GB, free: 404 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.2481, allocations: 15.81 kB / 0.9587 GB, free: 388 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.395e-05/0.2482, allocations: 21.34 kB / 0.9588 GB, free: 368 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.2482, allocations: 0 / 0.9588 GB, free: 368 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2482, allocations: 0 / 0.9588 GB, free: 368 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.2482, allocations: 0 / 0.9588 GB, free: 368 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004675/0.2486, allocations: 438.2 kB / 0.9592 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2487, allocations: 4 kB / 0.9592 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.179e-05/0.2487, allocations: 7.938 kB / 0.9592 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2487, allocations: 0 / 0.9592 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.2487, allocations: 11.98 kB / 0.9592 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.2487, allocations: 0 / 0.9592 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2487, allocations: 0 / 0.9592 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.2489, allocations: 199.3 kB / 0.9594 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.518e-05/0.249, allocations: 92.95 kB / 0.9595 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.249, allocations: 4 kB / 0.9595 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.091e-05/0.2491, allocations: 7.984 kB / 0.9595 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.2491, allocations: 15.98 kB / 0.9595 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.2492, allocations: 4 kB / 0.9595 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001003/0.2493, allocations: 141.1 kB / 0.9596 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2493, allocations: 0 / 0.9596 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002761/0.2496, allocations: 43.91 kB / 0.9597 GB, free: 15.32 MB / 0.7481 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 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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.0002669/0.2498, allocations: 174.7 kB / 0.9598 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001669/0.25, allocations: 83.84 kB / 0.9599 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.25, allocations: 4 kB / 0.9599 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 7.123e-05/0.2501, allocations: 39.92 kB / 0.96 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.2504, allocations: 49.61 kB / 0.96 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004715/0.2509, allocations: 265.7 kB / 0.9603 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.2512, allocations: 0.7203 MB / 0.961 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.408e-05/0.2512, allocations: 21.55 kB / 0.961 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.699e-05/0.2513, allocations: 27.42 kB / 0.961 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.2513, allocations: 3.938 kB / 0.961 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of Templates: time 0.006074/0.2574, allocations: 3.274 MB / 0.9642 GB, free: 10.66 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches