Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 106.7 kB / 16.41 MB, free: 6.465 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.002022/0.002022, allocations: 187 kB / 17.34 MB, free: 5.723 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.442/2.442, allocations: 390.3 MB / 0.6655 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 63.91 kB / 0.9515 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008/1.009, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003722/1.013, allocations: 1.741 MB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002024/1.015, allocations: 0.8918 MB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/1.015, allocations: 5.125 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002457/1.015, allocations: 31.52 kB / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005729/1.016, allocations: 117.3 kB / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005878/1.017, allocations: 148.1 kB / 1.091 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004127/1.017, allocations: 248.2 kB / 1.092 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/1.017, allocations: 32.84 kB / 1.092 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/1.017, allocations: 112.5 kB / 1.092 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01171/1.029, allocations: 2.023 MB / 1.094 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.255e-05/1.029, allocations: 17.84 kB / 1.094 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001533/1.029, allocations: 46.41 kB / 1.094 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.908e-05/1.03, allocations: 36.36 kB / 1.094 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001503/1.03, allocations: 96.02 kB / 1.094 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004809/1.03, allocations: 208.6 kB / 1.094 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/1.03, allocations: 4.625 kB / 1.094 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.084e-06/1.03, allocations: 0 / 1.094 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.138e-05/1.03, allocations: 0 / 1.094 GB, free: 2.641 MB / 0.8575 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.0008043/1.031, allocations: 0.5508 MB / 1.095 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/1.031, allocations: 10.3 kB / 1.095 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.34e-05/1.031, allocations: 23.53 kB / 1.095 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/1.031, allocations: 245.9 kB / 1.095 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/1.031, allocations: 14.38 kB / 1.095 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.347e-05/1.032, allocations: 15.25 kB / 1.095 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/1.032, allocations: 95.5 kB / 1.095 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/1.032, allocations: 5.609 kB / 1.095 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/1.032, allocations: 0.7188 kB / 1.095 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/1.032, allocations: 2.688 kB / 1.095 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/1.032, allocations: 55.97 kB / 1.095 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000794/1.033, allocations: 470.3 kB / 1.096 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004753/1.033, allocations: 135.8 kB / 1.096 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.115e-05/1.033, allocations: 32.97 kB / 1.096 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/1.033, allocations: 2.266 kB / 1.096 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002901/1.034, allocations: 114.9 kB / 1.096 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.492e-06/1.034, allocations: 0.5 kB / 1.096 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0003887/1.034, allocations: 161.6 kB / 1.096 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/1.034, allocations: 62.03 kB / 1.096 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/1.034, allocations: 200.5 kB / 1.096 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/1.034, allocations: 34.73 kB / 1.096 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.333e-05/1.034, allocations: 122.2 kB / 1.096 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/1.034, allocations: 35.25 kB / 1.096 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/1.035, allocations: 55.72 kB / 1.097 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.559e-05/1.035, allocations: 333 kB / 1.097 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.281e-05/1.035, allocations: 39.17 kB / 1.097 GB, free: 496 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002334/1.035, allocations: 128.5 kB / 1.097 GB, free: 396 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/1.035, allocations: 100.8 kB / 1.097 GB, free: 324 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/1.035, allocations: 0.5625 kB / 1.097 GB, free: 324 kB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002576/1.035, allocations: 153.7 kB / 1.097 GB, free: 244 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/1.035, allocations: 5.344 kB / 1.097 GB, free: 244 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/1.035, allocations: 1.812 kB / 1.097 GB, free: 244 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/1.035, allocations: 2.25 kB / 1.097 GB, free: 244 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.679e-05/1.035, allocations: 25.91 kB / 1.097 GB, free: 232 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/1.036, allocations: 2.375 kB / 1.097 GB, free: 232 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/1.036, allocations: 29.41 kB / 1.097 GB, free: 220 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/1.036, allocations: 9.5 kB / 1.097 GB, free: 216 kB / 0.8575 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.0001369/1.036, allocations: 137.4 kB / 1.097 GB, free: 80 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.577e-05/1.036, allocations: 16.59 kB / 1.097 GB, free: 72 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.738e-05/1.036, allocations: 20.45 kB / 1.098 GB, free: 60 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/1.036, allocations: 2.219 kB / 1.098 GB, free: 60 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/1.036, allocations: 0.7969 kB / 1.098 GB, free: 60 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.904e-06/1.036, allocations: 0.7969 kB / 1.098 GB, free: 60 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009038/1.037, allocations: 0.4903 MB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/1.037, allocations: 4.547 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.737e-05/1.037, allocations: 4.562 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/1.037, allocations: 5 kB / 1.098 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/1.037, allocations: 10.86 kB / 1.098 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/1.037, allocations: 3.938 kB / 1.098 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/1.037, allocations: 1.656 kB / 1.098 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003373/1.037, allocations: 228.9 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.447e-05/1.038, allocations: 95.39 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.52e-05/1.038, allocations: 5.891 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/1.038, allocations: 14.59 kB / 1.098 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/1.038, allocations: 25.34 kB / 1.098 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.806e-05/1.038, allocations: 10.75 kB / 1.098 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001841/1.038, allocations: 137.1 kB / 1.099 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.764e-06/1.038, allocations: 4 kB / 1.099 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003636/1.038, allocations: 53.58 kB / 1.099 GB, free: 15.26 MB / 0.8731 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.0004501/1.039, allocations: 165.8 kB / 1.099 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003144/1.039, allocations: 100.7 kB / 1.099 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.039, allocations: 0 / 1.099 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001258/1.039, allocations: 54.14 kB / 1.099 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004953/1.04, allocations: 57.98 kB / 1.099 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006941/1.041, allocations: 318.3 kB / 1.099 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/1.041, allocations: 0.7274 MB / 1.1 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.023e-05/1.041, allocations: 23.83 kB / 1.1 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of SimCode: time 2.11e-07/1.041, allocations: 4 kB / 1.1 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of Templates: time 0.008009/1.049, allocations: 3.224 MB / 1.103 GB, free: 13.79 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,plotConfiguration.active,sca.active,scaDel.active Variables in the result:plotConfiguration.active,sca.active,scaDel.active,time