Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.008735/0.008735, allocations: 97.81 kB / 15.73 MB, free: 6.004 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.002243/0.002243, allocations: 195 kB / 16.67 MB, free: 5.934 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.421/2.421, allocations: 437 MB / 0.7105 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.89 kB / 1.018 GB, free: 9.461 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9237/0.925, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002873/0.9279, allocations: 1.634 MB / 1.168 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.929, allocations: 0.5655 MB / 1.169 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.158e-05/0.9291, allocations: 4 kB / 1.169 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001842/0.9293, allocations: 27.72 kB / 1.169 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003226/0.9296, allocations: 111.5 kB / 1.169 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003226/0.9299, allocations: 144.8 kB / 1.169 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000258/0.9302, allocations: 223.5 kB / 1.169 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.9303, allocations: 17.56 kB / 1.169 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.9304, allocations: 107.7 kB / 1.169 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009151/0.9396, allocations: 1.571 MB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.543e-05/0.9397, allocations: 20 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.9398, allocations: 40 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.246e-05/0.9399, allocations: 35.91 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.94, allocations: 83.5 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003518/0.9404, allocations: 188.3 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.9404, allocations: 3.984 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.934e-06/0.9404, allocations: 0 / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.9404, allocations: 0 / 1.171 GB, free: 15.52 MB / 0.9044 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.000715/0.9411, allocations: 0.5331 MB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.9412, allocations: 12.86 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.597e-05/0.9412, allocations: 16.84 kB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.9415, allocations: 232.2 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.9415, allocations: 7.938 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.18e-05/0.9416, allocations: 12 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.9417, allocations: 85.59 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.9418, allocations: 0 / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.9418, allocations: 4 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.9418, allocations: 4 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.429e-05/0.9419, allocations: 43.92 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007141/0.9426, allocations: 448.4 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.9428, allocations: 70.5 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.95e-05/0.9428, allocations: 32.84 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.9428, allocations: 3.984 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001883/0.943, allocations: 83.38 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=12): time 1.422e-06/0.943, allocations: 0 / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12): time 0.0002788/0.9433, allocations: 137.6 kB / 1.173 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.9434, allocations: 59.34 kB / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.9436, allocations: 199.6 kB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.9436, allocations: 29.7 kB / 1.173 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.897e-05/0.9437, allocations: 116.1 kB / 1.173 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.9437, allocations: 27.92 kB / 1.173 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.161e-05/0.9438, allocations: 53.67 kB / 1.173 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.9439, allocations: 326.8 kB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.3e-05/0.944, allocations: 23.98 kB / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/0.9442, allocations: 118.5 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.9443, allocations: 88.22 kB / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.9443, allocations: 4 kB / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00021/0.9446, allocations: 140.6 kB / 1.174 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.9446, allocations: 8 kB / 1.174 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.9446, allocations: 3.938 kB / 1.174 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.9446, allocations: 0 / 1.174 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.194e-05/0.9447, allocations: 19.92 kB / 1.174 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.9447, allocations: 0 / 1.174 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.9449, allocations: 27.88 kB / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.9449, allocations: 4.125 kB / 1.174 GB, free: 12.32 MB / 0.9044 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.0001221/0.945, allocations: 133.8 kB / 1.174 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.9451, allocations: 15.91 kB / 1.174 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.351e-05/0.9451, allocations: 21.33 kB / 1.174 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.9451, allocations: 4 kB / 1.174 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.9451, allocations: 0 / 1.174 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.9451, allocations: 0 / 1.174 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004756/0.9456, allocations: 426.3 kB / 1.175 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.9456, allocations: 7.984 kB / 1.175 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.187e-05/0.9457, allocations: 4 kB / 1.175 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.9457, allocations: 3.938 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.9457, allocations: 4 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.9457, allocations: 4 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.9457, allocations: 0 / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.9459, allocations: 203.3 kB / 1.175 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.051e-05/0.9459, allocations: 93.05 kB / 1.175 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.946, allocations: 11.94 kB / 1.175 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.578e-05/0.9461, allocations: 4 kB / 1.175 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.52e-05/0.9461, allocations: 15.97 kB / 1.175 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.9462, allocations: 8 kB / 1.175 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.00011/0.9463, allocations: 132.1 kB / 1.175 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9463, allocations: 0 / 1.175 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002934/0.9466, allocations: 47.89 kB / 1.175 GB, free: 11.1 MB / 0.9044 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.0003379/0.9469, allocations: 166.4 kB / 1.175 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001865/0.9471, allocations: 83.89 kB / 1.175 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.9472, allocations: 0 / 1.175 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 7.353e-05/0.9472, allocations: 39.92 kB / 1.175 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.9476, allocations: 61.73 kB / 1.175 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005335/0.9482, allocations: 270.6 kB / 1.176 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.9484, allocations: 0.7166 MB / 1.176 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.336e-05/0.9485, allocations: 21.47 kB / 1.176 GB, free: 9.723 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.444e-05/0.9485, allocations: 23.44 kB / 1.176 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.9485, allocations: 0 / 1.176 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of Templates: time 0.006688/0.9552, allocations: 3.294 MB / 1.18 GB, free: 6.438 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches