Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007655/0.007655, allocations: 100.4 kB / 15.73 MB, free: 5.977 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.001767/0.001767, allocations: 195.8 kB / 16.67 MB, free: 5.914 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.765/2.765, allocations: 461.9 MB / 0.7348 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 71.83 kB / 1.054 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3302, allocations: 157.4 MB / 1.208 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003672/0.334, allocations: 1.735 MB / 1.209 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00169/0.3357, allocations: 0.901 MB / 1.21 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.3358, allocations: 0 / 1.21 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000206/0.3361, allocations: 35.72 kB / 1.21 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004271/0.3365, allocations: 115.4 kB / 1.21 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004179/0.337, allocations: 157.6 kB / 1.211 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003784/0.3373, allocations: 227.5 kB / 1.211 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.3375, allocations: 49.66 kB / 1.211 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002091/0.3377, allocations: 115.6 kB / 1.211 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01017/0.3479, allocations: 1.668 MB / 1.213 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.531e-05/0.348, allocations: 20 kB / 1.213 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.3481, allocations: 43.91 kB / 1.213 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.066e-05/0.3482, allocations: 31.91 kB / 1.213 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.3484, allocations: 95.5 kB / 1.213 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003505/0.3487, allocations: 219.3 kB / 1.213 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3487, allocations: 3.984 kB / 1.213 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3487, allocations: 0 / 1.213 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.3487, allocations: 0 / 1.213 GB, free: 4.719 MB / 0.9669 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.0008097/0.3496, allocations: 0.5643 MB / 1.214 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.3496, allocations: 8.625 kB / 1.214 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.247e-05/0.3497, allocations: 20.75 kB / 1.214 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.35, allocations: 247.9 kB / 1.214 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.35, allocations: 12 kB / 1.214 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.948e-05/0.35, allocations: 12 kB / 1.214 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.3502, allocations: 116.4 kB / 1.214 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.3503, allocations: 0 / 1.214 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.3503, allocations: 4 kB / 1.214 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.3503, allocations: 4 kB / 1.214 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.3504, allocations: 51.91 kB / 1.214 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008245/0.3512, allocations: 0.5396 MB / 1.215 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.3514, allocations: 101 kB / 1.215 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.039e-05/0.3515, allocations: 41.77 kB / 1.215 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.3515, allocations: 4 kB / 1.215 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002411/0.3518, allocations: 129.1 kB / 1.215 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=15): time 1.714e-06/0.3518, allocations: 0 / 1.215 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15): time 0.0003379/0.3521, allocations: 157.6 kB / 1.215 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/0.3522, allocations: 85.11 kB / 1.215 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.3524, allocations: 201.3 kB / 1.215 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.3524, allocations: 37.7 kB / 1.215 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.132e-05/0.3525, allocations: 124.5 kB / 1.215 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.3526, allocations: 31.55 kB / 1.215 GB, free: 2 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-05/0.3527, allocations: 57.69 kB / 1.215 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.3528, allocations: 326.8 kB / 1.216 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.659e-05/0.3528, allocations: 35.98 kB / 1.216 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.3531, allocations: 141.3 kB / 1.216 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.3532, allocations: 117.4 kB / 1.216 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3532, allocations: 0 / 1.216 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002479/0.3535, allocations: 161.3 kB / 1.216 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3535, allocations: 8 kB / 1.216 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3535, allocations: 4 kB / 1.216 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.3535, allocations: 4 kB / 1.216 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.798e-05/0.3536, allocations: 15.98 kB / 1.216 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.3537, allocations: 12.09 kB / 1.216 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.3539, allocations: 27.83 kB / 1.216 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.3539, allocations: 4 kB / 1.216 GB, free: 1.031 MB / 0.9669 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.0001251/0.354, allocations: 147.5 kB / 1.216 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.3541, allocations: 15.81 kB / 1.216 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.198e-05/0.3541, allocations: 17.53 kB / 1.216 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3541, allocations: 3.984 kB / 1.216 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.3541, allocations: 0 / 1.216 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3541, allocations: 8 kB / 1.216 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005869/0.3547, allocations: 466.2 kB / 1.217 GB, free: 332 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3548, allocations: 0 / 1.217 GB, free: 332 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.6e-05/0.3548, allocations: 7.938 kB / 1.217 GB, free: 324 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3548, allocations: 4 kB / 1.217 GB, free: 320 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.3548, allocations: 4 kB / 1.217 GB, free: 316 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.3548, allocations: 3.938 kB / 1.217 GB, free: 312 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3548, allocations: 0 / 1.217 GB, free: 312 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.3551, allocations: 234.6 kB / 1.217 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.029e-05/0.3551, allocations: 96.86 kB / 1.217 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.3552, allocations: 0 / 1.217 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.3553, allocations: 27.84 kB / 1.217 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.279e-05/0.3554, allocations: 20.02 kB / 1.217 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.306e-05/0.3554, allocations: 7.984 kB / 1.217 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001299/0.3556, allocations: 143.3 kB / 1.217 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3556, allocations: 0 / 1.217 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003108/0.3559, allocations: 47.98 kB / 1.217 GB, free: 15.7 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.0003432/0.3562, allocations: 169.2 kB / 1.218 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002239/0.3565, allocations: 103.8 kB / 1.218 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3565, allocations: 0 / 1.218 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.293e-05/0.3566, allocations: 52.23 kB / 1.218 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004309/0.357, allocations: 54.7 kB / 1.218 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006108/0.3576, allocations: 304.2 kB / 1.218 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.358, allocations: 0.7242 MB / 1.219 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.117e-05/0.358, allocations: 25.61 kB / 1.219 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.664e-05/0.3581, allocations: 27.44 kB / 1.219 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of SimCode: time 2.11e-07/0.3581, allocations: 0 / 1.219 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of Templates: time 0.008198/0.3663, allocations: 3.769 MB / 1.223 GB, free: 10.49 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches