Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 106.4 kB / 16.41 MB, free: 6.504 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.001445/0.001445, allocations: 189.2 kB / 17.34 MB, free: 5.766 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.339/1.339, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.388/2.388, allocations: 437.1 MB / 0.7112 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 67.89 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.72/0.7218, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003/0.7248, allocations: 1.736 MB / 1.169 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001507/0.7264, allocations: 0.9123 MB / 1.17 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.485e-05/0.7264, allocations: 0 / 1.17 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001734/0.7266, allocations: 31.67 kB / 1.17 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000339/0.727, allocations: 123.4 kB / 1.17 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003279/0.7273, allocations: 153.6 kB / 1.17 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000295/0.7276, allocations: 239.4 kB / 1.17 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.7278, allocations: 37.64 kB / 1.17 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.7279, allocations: 111.7 kB / 1.171 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0128/0.7407, allocations: 1.712 MB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.7409, allocations: 16 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001634/0.741, allocations: 32 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 9.598e-05/0.7411, allocations: 43.83 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000152/0.7413, allocations: 99.5 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005004/0.7418, allocations: 222.6 kB / 1.173 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.7418, allocations: 0 / 1.173 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7418, allocations: 4 kB / 1.173 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.43e-05/0.7418, allocations: 0 / 1.173 GB, free: 14.86 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001031/0.7429, allocations: 0.5526 MB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.7429, allocations: 8.922 kB / 1.173 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.392e-05/0.743, allocations: 20.84 kB / 1.173 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.7434, allocations: 240.2 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.7434, allocations: 16 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/0.7434, allocations: 16 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.7436, allocations: 87.88 kB / 1.174 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.7437, allocations: 0 / 1.174 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.7437, allocations: 8 kB / 1.174 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.7437, allocations: 0 / 1.174 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.7438, allocations: 55.91 kB / 1.174 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008303/0.7447, allocations: 472.3 kB / 1.174 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004297/0.7451, allocations: 138.6 kB / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.071e-05/0.7452, allocations: 32.86 kB / 1.174 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.7452, allocations: 7.984 kB / 1.174 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002773/0.7455, allocations: 115.4 kB / 1.174 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.7455, allocations: 0 / 1.174 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.0003851/0.7459, allocations: 157.5 kB / 1.174 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.7459, allocations: 59.39 kB / 1.175 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.7462, allocations: 212.6 kB / 1.175 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.443e-05/0.7462, allocations: 33.7 kB / 1.175 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.569e-05/0.7463, allocations: 116.5 kB / 1.175 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.858e-05/0.7464, allocations: 35.73 kB / 1.175 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.7465, allocations: 61.67 kB / 1.175 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.7466, allocations: 326.8 kB / 1.175 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.498e-05/0.7467, allocations: 27.98 kB / 1.175 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.747, allocations: 144.7 kB / 1.175 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.7471, allocations: 96.22 kB / 1.176 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.7471, allocations: 4 kB / 1.176 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002535/0.7474, allocations: 159.8 kB / 1.176 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.7474, allocations: 4 kB / 1.176 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.7474, allocations: 0 / 1.176 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.7474, allocations: 4 kB / 1.176 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.109e-05/0.7475, allocations: 15.98 kB / 1.176 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.7475, allocations: 0 / 1.176 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.7477, allocations: 23.94 kB / 1.176 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.7477, allocations: 20.12 kB / 1.176 GB, free: 11.37 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: 19 ($whenCondition3,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,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * 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.0001422/0.7479, allocations: 139.4 kB / 1.176 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.168e-05/0.7479, allocations: 19.89 kB / 1.176 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.091e-05/0.748, allocations: 25.81 kB / 1.176 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.748, allocations: 0 / 1.176 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.748, allocations: 0 / 1.176 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.748, allocations: 0 / 1.176 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006805/0.7487, allocations: 0.4927 MB / 1.176 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.7487, allocations: 0 / 1.176 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.488e-05/0.7487, allocations: 7.938 kB / 1.176 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.7487, allocations: 0 / 1.176 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.7488, allocations: 8 kB / 1.176 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.7488, allocations: 3.938 kB / 1.176 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.7488, allocations: 3.984 kB / 1.176 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.749, allocations: 227.3 kB / 1.177 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.164e-05/0.7491, allocations: 96.94 kB / 1.177 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.7491, allocations: 3.938 kB / 1.177 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.7493, allocations: 19.92 kB / 1.177 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.691e-05/0.7493, allocations: 19.97 kB / 1.177 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/0.7494, allocations: 8 kB / 1.177 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001332/0.7495, allocations: 139.2 kB / 1.177 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7495, allocations: 0 / 1.177 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000285/0.7498, allocations: 47.89 kB / 1.177 GB, free: 10.02 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: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.000369/0.7502, allocations: 168.9 kB / 1.177 GB, free: 9.867 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002413/0.7504, allocations: 107.8 kB / 1.177 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.7504, allocations: 0 / 1.177 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.708e-05/0.7505, allocations: 51.92 kB / 1.177 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.7509, allocations: 57.75 kB / 1.177 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006227/0.7516, allocations: 316.2 kB / 1.178 GB, free: 9.324 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.7519, allocations: 0.7203 MB / 1.178 GB, free: 8.578 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.734e-05/0.752, allocations: 25.48 kB / 1.178 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.815e-05/0.7521, allocations: 31.42 kB / 1.178 GB, free: 8.523 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.7521, allocations: 0 / 1.178 GB, free: 8.523 MB / 0.9044 GB Notification: Performance of Templates: time 0.007744/0.7598, allocations: 3.741 MB / 1.182 GB, free: 4.824 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches