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.01019/0.01019, allocations: 98.14 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.002253/0.002253, allocations: 195.5 kB / 16.68 MB, free: 5.969 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.454/1.454, allocations: 222.9 MB / 240.3 MB, free: 4.312 MB / 190.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.746/2.746, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 62.12 kB / 0.9508 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.325, allocations: 140.4 MB / 1.088 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003131/0.3282, allocations: 1.735 MB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001454/0.3296, allocations: 0.9007 MB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.435e-05/0.3297, allocations: 7.938 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002003/0.3299, allocations: 23.73 kB / 1.091 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004032/0.3304, allocations: 119.4 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.3307, allocations: 153.5 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002932/0.331, allocations: 247.3 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.3312, allocations: 37.66 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.3313, allocations: 111.7 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01257/0.3439, allocations: 2.024 MB / 1.093 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001629/0.3441, allocations: 20 kB / 1.093 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002195/0.3443, allocations: 36 kB / 1.093 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.3445, allocations: 39.89 kB / 1.093 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002166/0.3447, allocations: 103.4 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007635/0.3455, allocations: 215.3 kB / 1.094 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/0.3455, allocations: 4 kB / 1.094 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3455, allocations: 0 / 1.094 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.823e-05/0.3455, allocations: 0 / 1.094 GB, free: 12.28 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.001161/0.3467, allocations: 0.5411 MB / 1.094 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.835e-05/0.3468, allocations: 11.97 kB / 1.094 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.3469, allocations: 20.75 kB / 1.094 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004274/0.3473, allocations: 251.4 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.3474, allocations: 16 kB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.089e-05/0.3474, allocations: 12 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002351/0.3477, allocations: 85.66 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3477, allocations: 0 / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.3477, allocations: 4 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.3477, allocations: 7.938 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.3479, allocations: 57.3 kB / 1.095 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009089/0.3488, allocations: 468.3 kB / 1.095 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004306/0.3492, allocations: 138.7 kB / 1.095 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.84e-05/0.3493, allocations: 32.84 kB / 1.095 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.3493, allocations: 0 / 1.095 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003514/0.3497, allocations: 115.2 kB / 1.095 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.3497, allocations: 0 / 1.095 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0003988/0.3501, allocations: 165.1 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/0.3502, allocations: 59.41 kB / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.3504, allocations: 206.2 kB / 1.096 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.818e-05/0.3505, allocations: 33.7 kB / 1.096 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.3506, allocations: 116.5 kB / 1.096 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.955e-05/0.3506, allocations: 35.53 kB / 1.096 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.3507, allocations: 57.69 kB / 1.096 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.3509, allocations: 330.8 kB / 1.096 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.948e-05/0.3509, allocations: 31.98 kB / 1.096 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.3512, allocations: 136.7 kB / 1.096 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.3513, allocations: 99.2 kB / 1.096 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.3513, allocations: 0 / 1.096 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002507/0.3516, allocations: 161.2 kB / 1.097 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.3516, allocations: 8 kB / 1.097 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.3516, allocations: 0 / 1.097 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.3517, allocations: 0 / 1.097 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.627e-05/0.3517, allocations: 15.94 kB / 1.097 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.3518, allocations: 4 kB / 1.097 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002103/0.352, allocations: 39.88 kB / 1.097 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.352, allocations: 11.98 kB / 1.097 GB, free: 8.789 MB / 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.0001359/0.3521, allocations: 135.6 kB / 1.097 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.3522, allocations: 15.81 kB / 1.097 GB, free: 8.633 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.275e-05/0.3522, allocations: 25.86 kB / 1.097 GB, free: 8.609 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.3522, allocations: 4 kB / 1.097 GB, free: 8.605 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.3522, allocations: 0 / 1.097 GB, free: 8.605 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3523, allocations: 0 / 1.097 GB, free: 8.605 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006622/0.3529, allocations: 0.4903 MB / 1.097 GB, free: 8.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.3529, allocations: 4 kB / 1.097 GB, free: 8.055 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.705e-05/0.353, allocations: 7.938 kB / 1.097 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.353, allocations: 0 / 1.097 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.353, allocations: 4 kB / 1.097 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.353, allocations: 7.938 kB / 1.097 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.353, allocations: 0 / 1.097 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.3533, allocations: 231.3 kB / 1.098 GB, free: 7.793 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.834e-05/0.3533, allocations: 88.92 kB / 1.098 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.3534, allocations: 4 kB / 1.098 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.3535, allocations: 19.91 kB / 1.098 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.836e-05/0.3536, allocations: 15.98 kB / 1.098 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-05/0.3536, allocations: 7.984 kB / 1.098 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001378/0.3537, allocations: 144.5 kB / 1.098 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.033e-06/0.3538, allocations: 0 / 1.098 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004171/0.3542, allocations: 55.88 kB / 1.098 GB, free: 7.445 MB / 0.8575 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.000443/0.3546, allocations: 164.4 kB / 1.098 GB, free: 7.297 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002798/0.3549, allocations: 103 kB / 1.098 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3549, allocations: 0 / 1.098 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.355, allocations: 51.92 kB / 1.098 GB, free: 7.148 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004398/0.3555, allocations: 56.06 kB / 1.098 GB, free: 7.102 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006893/0.3562, allocations: 295.4 kB / 1.099 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.3565, allocations: 0.7241 MB / 1.099 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.743e-05/0.3566, allocations: 29.53 kB / 1.099 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.004e-05/0.3567, allocations: 23.42 kB / 1.099 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of SimCode: time 1.9e-07/0.3567, allocations: 0 / 1.099 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of Templates: time 0.008951/0.3657, allocations: 3.727 MB / 1.103 GB, free: 2.297 MB / 0.8575 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches