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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001217/0.001217, allocations: 108.5 kB / 16.41 MB, free: 6.48 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.00127/0.00127, allocations: 196.3 kB / 17.35 MB, free: 5.75 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.608/2.608, allocations: 461.7 MB / 0.7352 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 59.84 kB / 1.054 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006/1.008, allocations: 157.4 MB / 1.208 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003498/1.011, allocations: 1.733 MB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00192/1.013, allocations: 0.8969 MB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001993/1.013, allocations: 3.938 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002807/1.014, allocations: 27.73 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0005694/1.014, allocations: 119.4 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005314/1.015, allocations: 159.3 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004527/1.015, allocations: 239.4 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/1.016, allocations: 45.61 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002371/1.016, allocations: 111.7 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01004/1.026, allocations: 1.666 MB / 1.213 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001219/1.026, allocations: 20 kB / 1.213 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001878/1.026, allocations: 43.98 kB / 1.213 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001067/1.026, allocations: 39.89 kB / 1.213 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001857/1.026, allocations: 99.44 kB / 1.213 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005073/1.027, allocations: 207.4 kB / 1.213 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/1.027, allocations: 0 / 1.213 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.265e-06/1.027, allocations: 0 / 1.213 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.016e-05/1.027, allocations: 0 / 1.213 GB, free: 8.746 MB / 0.9356 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.0009948/1.028, allocations: 0.5584 MB / 1.214 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/1.028, allocations: 8.031 kB / 1.214 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.89e-05/1.028, allocations: 28.64 kB / 1.214 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003637/1.029, allocations: 235.6 kB / 1.214 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/1.029, allocations: 12 kB / 1.214 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.976e-05/1.029, allocations: 8 kB / 1.214 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/1.029, allocations: 121.3 kB / 1.214 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/1.029, allocations: 4 kB / 1.214 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/1.029, allocations: 15.98 kB / 1.214 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/1.029, allocations: 0 / 1.214 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/1.029, allocations: 51.97 kB / 1.214 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009081/1.03, allocations: 0.5357 MB / 1.215 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/1.03, allocations: 101.2 kB / 1.215 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.765e-05/1.03, allocations: 41.77 kB / 1.215 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/1.03, allocations: 0 / 1.215 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002784/1.031, allocations: 129 kB / 1.215 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/1.031, allocations: 0 / 1.215 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.000383/1.031, allocations: 157.5 kB / 1.215 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/1.031, allocations: 89.03 kB / 1.215 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/1.031, allocations: 196.9 kB / 1.216 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.648e-05/1.031, allocations: 37.69 kB / 1.216 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/1.031, allocations: 128.5 kB / 1.216 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.154e-05/1.032, allocations: 31.69 kB / 1.216 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/1.032, allocations: 61.67 kB / 1.216 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002603/1.032, allocations: 330.8 kB / 1.216 GB, free: 5.633 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.298e-05/1.032, allocations: 27.98 kB / 1.216 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/1.032, allocations: 141.3 kB / 1.216 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/1.032, allocations: 121.8 kB / 1.217 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/1.032, allocations: 0 / 1.217 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000269/1.033, allocations: 165.1 kB / 1.217 GB, free: 5.129 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/1.033, allocations: 4 kB / 1.217 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/1.033, allocations: 4 kB / 1.217 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/1.033, allocations: 0 / 1.217 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.217e-05/1.033, allocations: 23.92 kB / 1.217 GB, free: 5.098 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/1.033, allocations: 0 / 1.217 GB, free: 5.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/1.033, allocations: 27.83 kB / 1.217 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/1.033, allocations: 12.16 kB / 1.217 GB, free: 5.059 MB / 0.9356 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.0001423/1.033, allocations: 139.5 kB / 1.217 GB, free: 4.914 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.554e-05/1.033, allocations: 19.8 kB / 1.217 GB, free: 4.895 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.821e-05/1.033, allocations: 17.53 kB / 1.217 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/1.033, allocations: 0 / 1.217 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/1.033, allocations: 4 kB / 1.217 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.533e-05/1.033, allocations: 92.91 kB / 1.217 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/1.034, allocations: 4 kB / 1.217 GB, free: 4.758 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/1.034, allocations: 19.92 kB / 1.217 GB, free: 4.738 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.551e-05/1.034, allocations: 19.97 kB / 1.217 GB, free: 4.719 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003223/1.034, allocations: 284.1 kB / 1.217 GB, free: 4.434 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003099/1.034, allocations: 380.5 kB / 1.218 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.15e-05/1.034, allocations: 55.88 kB / 1.218 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001194/1.035, allocations: 144.2 kB / 1.218 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of Backend: time 2.81e-07/1.035, allocations: 0 / 1.218 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008386/1.035, allocations: 232.1 kB / 1.218 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0009929/1.036, allocations: 0.7394 MB / 1.219 GB, free: 2.859 MB / 0.9356 GB Notification: Performance of Templates: time 0.008944/1.045, allocations: 3.71 MB / 1.222 GB, free: 15.19 MB / 0.9512 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches