Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001655/0.001655, allocations: 102.4 kB / 16.4 MB, free: 6.461 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.001899/0.001899, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.655/2.655, allocations: 469.4 MB / 0.7428 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 64.09 kB / 1.065 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9384/0.9401, allocations: 159.1 MB / 1.221 GB, free: 2.559 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.00388/0.944, allocations: 1.737 MB / 1.223 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0018/0.9459, allocations: 0.9055 MB / 1.223 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.946, allocations: 0 / 1.223 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002276/0.9463, allocations: 27.73 kB / 1.223 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004909/0.9468, allocations: 127.4 kB / 1.224 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004504/0.9473, allocations: 151.7 kB / 1.224 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003681/0.9476, allocations: 235.5 kB / 1.224 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.9478, allocations: 33.66 kB / 1.224 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002141/0.948, allocations: 119.6 kB / 1.224 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01193/0.96, allocations: 2.024 MB / 1.226 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.724e-05/0.9601, allocations: 20 kB / 1.226 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.9602, allocations: 36 kB / 1.226 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.212e-05/0.9603, allocations: 47.81 kB / 1.226 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.9605, allocations: 87.58 kB / 1.226 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004556/0.961, allocations: 223.2 kB / 1.226 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.961, allocations: 0 / 1.226 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.673e-06/0.961, allocations: 0 / 1.226 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.961, allocations: 0 / 1.226 GB, free: 13.33 MB / 0.9512 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.0009895/0.962, allocations: 0.5527 MB / 1.227 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.962, allocations: 8.625 kB / 1.227 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.9622, allocations: 20.75 kB / 1.227 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003573/0.9625, allocations: 256.6 kB / 1.227 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.9626, allocations: 8 kB / 1.227 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.709e-05/0.9626, allocations: 16 kB / 1.227 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.9628, allocations: 87.7 kB / 1.227 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.9628, allocations: 0 / 1.227 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.9628, allocations: 8 kB / 1.227 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.9629, allocations: 4 kB / 1.227 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.963, allocations: 51.97 kB / 1.227 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009413/0.9639, allocations: 460.4 kB / 1.228 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005215/0.9645, allocations: 146.5 kB / 1.228 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.734e-05/0.9646, allocations: 36.84 kB / 1.228 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.9646, allocations: 4 kB / 1.228 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003425/0.965, allocations: 109.5 kB / 1.228 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.965, allocations: 0 / 1.228 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16): time 0.0004516/0.9654, allocations: 169.2 kB / 1.228 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.256e-05/0.9655, allocations: 55.41 kB / 1.228 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002795/0.9658, allocations: 197.3 kB / 1.229 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.788e-05/0.9658, allocations: 33.7 kB / 1.229 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.966, allocations: 124.4 kB / 1.229 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.535e-05/0.966, allocations: 31.59 kB / 1.229 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/0.9662, allocations: 65.67 kB / 1.229 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001877/0.9664, allocations: 326.8 kB / 1.229 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.402e-05/0.9664, allocations: 27.98 kB / 1.229 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002752/0.9667, allocations: 139.5 kB / 1.229 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.9669, allocations: 102.4 kB / 1.229 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.9669, allocations: 0 / 1.229 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000318/0.9672, allocations: 153.3 kB / 1.23 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.9673, allocations: 4 kB / 1.23 GB, free: 9.906 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.9673, allocations: 4.125 kB / 1.23 GB, free: 9.902 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.9673, allocations: 4 kB / 1.23 GB, free: 9.898 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.926e-05/0.9674, allocations: 19.92 kB / 1.23 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.9674, allocations: 4 kB / 1.23 GB, free: 9.875 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002472/0.9677, allocations: 27.83 kB / 1.23 GB, free: 9.848 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.9677, allocations: 8 kB / 1.23 GB, free: 9.84 MB / 0.9512 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.0001863/0.9679, allocations: 143.7 kB / 1.23 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.919e-05/0.968, allocations: 19.8 kB / 1.23 GB, free: 9.676 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.564e-05/0.968, allocations: 21.88 kB / 1.23 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.968, allocations: 0 / 1.23 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.968, allocations: 0 / 1.23 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.968, allocations: 11.92 kB / 1.23 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007764/0.9688, allocations: 0.489 MB / 1.23 GB, free: 9.094 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.9688, allocations: 0 / 1.23 GB, free: 9.094 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.759e-05/0.9689, allocations: 4 kB / 1.23 GB, free: 9.09 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.9689, allocations: 4 kB / 1.23 GB, free: 9.086 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.9689, allocations: 7.984 kB / 1.23 GB, free: 9.078 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.9689, allocations: 3.938 kB / 1.23 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.9689, allocations: 0 / 1.23 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002894/0.9692, allocations: 227.3 kB / 1.231 GB, free: 8.836 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.381e-05/0.9693, allocations: 96.84 kB / 1.231 GB, free: 8.723 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.9693, allocations: 0 / 1.231 GB, free: 8.723 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.9695, allocations: 23.92 kB / 1.231 GB, free: 8.699 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.837e-05/0.9696, allocations: 19.97 kB / 1.231 GB, free: 8.68 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.999e-05/0.9696, allocations: 8 kB / 1.231 GB, free: 8.672 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001331/0.9698, allocations: 143.3 kB / 1.231 GB, free: 8.531 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9698, allocations: 0 / 1.231 GB, free: 8.531 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003252/0.9701, allocations: 43.91 kB / 1.231 GB, free: 8.488 MB / 0.9512 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.0003816/0.9705, allocations: 183.2 kB / 1.231 GB, free: 8.324 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002537/0.9707, allocations: 107.8 kB / 1.231 GB, free: 8.219 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.9708, allocations: 4.25 kB / 1.231 GB, free: 8.215 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.836e-05/0.9709, allocations: 55.92 kB / 1.231 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.9713, allocations: 56.33 kB / 1.231 GB, free: 8.113 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006354/0.9719, allocations: 313.3 kB / 1.232 GB, free: 7.777 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.9723, allocations: 0.7203 MB / 1.232 GB, free: 7.031 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.072e-05/0.9723, allocations: 27.42 kB / 1.232 GB, free: 7.008 MB / 0.9512 GB Notification: Performance of SimCode: time 4.41e-07/0.9723, allocations: 0 / 1.232 GB, free: 7.008 MB / 0.9512 GB Notification: Performance of Templates: time 0.00649/0.9788, allocations: 3.214 MB / 1.235 GB, free: 3.809 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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