Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008185/0.008185, allocations: 97.33 kB / 15.73 MB, free: 6.039 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.001411/0.001411, allocations: 202.2 kB / 16.68 MB, free: 5.961 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.816/2.816, allocations: 469.8 MB / 0.7425 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 71.84 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3377, allocations: 159.1 MB / 1.221 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003116/0.3408, allocations: 1.761 MB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001507/0.3423, allocations: 0.8969 MB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.516e-05/0.3424, allocations: 0 / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002154/0.3426, allocations: 27.73 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000391/0.343, allocations: 123.4 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003793/0.3434, allocations: 155.7 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003053/0.3437, allocations: 231.5 kB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.3438, allocations: 41.55 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001508/0.344, allocations: 107.7 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01173/0.3557, allocations: 2.004 MB / 1.226 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.167e-05/0.3558, allocations: 20 kB / 1.226 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.3559, allocations: 40 kB / 1.226 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.728e-05/0.356, allocations: 35.89 kB / 1.226 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.3561, allocations: 91.5 kB / 1.226 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000382/0.3565, allocations: 219.1 kB / 1.226 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3565, allocations: 0 / 1.226 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.183e-06/0.3565, allocations: 0 / 1.226 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.3565, allocations: 4 kB / 1.226 GB, free: 8.609 MB / 0.9825 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.000848/0.3574, allocations: 0.5603 MB / 1.227 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.3574, allocations: 8.031 kB / 1.227 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.46e-05/0.3575, allocations: 20.84 kB / 1.227 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.3578, allocations: 251.5 kB / 1.227 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.3578, allocations: 8 kB / 1.227 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.653e-05/0.3578, allocations: 12 kB / 1.227 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.358, allocations: 121.4 kB / 1.227 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.358, allocations: 0 / 1.227 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.3581, allocations: 4 kB / 1.227 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.3581, allocations: 0 / 1.227 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.3582, allocations: 67.78 kB / 1.227 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008088/0.359, allocations: 0.5357 MB / 1.228 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.3592, allocations: 89.12 kB / 1.228 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.1e-05/0.3593, allocations: 37.95 kB / 1.228 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.3593, allocations: 11.92 kB / 1.228 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002689/0.3595, allocations: 125 kB / 1.228 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.333e-06/0.3595, allocations: 0 / 1.228 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0003479/0.3599, allocations: 161.5 kB / 1.228 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.3599, allocations: 81.11 kB / 1.228 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.3601, allocations: 200.3 kB / 1.228 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.3602, allocations: 37.77 kB / 1.228 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.227e-05/0.3603, allocations: 128.5 kB / 1.229 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.3603, allocations: 31.73 kB / 1.229 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.145e-05/0.3604, allocations: 65.62 kB / 1.229 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.3605, allocations: 326.8 kB / 1.229 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.487e-05/0.3606, allocations: 31.98 kB / 1.229 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/0.3608, allocations: 146.3 kB / 1.229 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.3609, allocations: 117.6 kB / 1.229 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.361, allocations: 0 / 1.229 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002359/0.3612, allocations: 161.4 kB / 1.229 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.3612, allocations: 8 kB / 1.229 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3612, allocations: 0 / 1.229 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.3612, allocations: 4 kB / 1.229 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.799e-05/0.3613, allocations: 12 kB / 1.229 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.3613, allocations: 4.094 kB / 1.229 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.3615, allocations: 39.86 kB / 1.229 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.3615, allocations: 4 kB / 1.229 GB, free: 4.914 MB / 0.9825 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.0001204/0.3617, allocations: 136.1 kB / 1.23 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.3617, allocations: 15.91 kB / 1.23 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.314e-05/0.3617, allocations: 25.52 kB / 1.23 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.3617, allocations: 3.938 kB / 1.23 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3618, allocations: 0 / 1.23 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3618, allocations: 4 kB / 1.23 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005691/0.3623, allocations: 470.2 kB / 1.23 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3623, allocations: 0 / 1.23 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.211e-05/0.3623, allocations: 4 kB / 1.23 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3624, allocations: 0 / 1.23 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.3624, allocations: 11.98 kB / 1.23 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.3624, allocations: 3.938 kB / 1.23 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3624, allocations: 0 / 1.23 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002154/0.3626, allocations: 228.2 kB / 1.23 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.315e-05/0.3626, allocations: 101 kB / 1.23 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.3627, allocations: 4 kB / 1.23 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.3628, allocations: 19.92 kB / 1.23 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.586e-05/0.3629, allocations: 19.97 kB / 1.23 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.3629, allocations: 4 kB / 1.23 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001209/0.363, allocations: 152.2 kB / 1.231 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.363, allocations: 0 / 1.231 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003031/0.3633, allocations: 51.83 kB / 1.231 GB, free: 3.582 MB / 0.9825 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.0003363/0.3637, allocations: 170.4 kB / 1.231 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002276/0.3639, allocations: 107.5 kB / 1.231 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3639, allocations: 0 / 1.231 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.519e-05/0.364, allocations: 44.23 kB / 1.231 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.3644, allocations: 64.59 kB / 1.231 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006406/0.3651, allocations: 291.9 kB / 1.231 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.3655, allocations: 0.7242 MB / 1.232 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.117e-05/0.3655, allocations: 25.62 kB / 1.232 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.881e-05/0.3656, allocations: 31.36 kB / 1.232 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/0.3656, allocations: 0 / 1.232 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of Templates: time 0.00854/0.3741, allocations: 3.671 MB / 1.236 GB, free: 14.48 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches