Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001405, allocations: 115.5 kB / 16.42 MB, free: 6.516 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.001461/0.001461, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.43/1.43, 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 9.1.3-maint.9.1.x/package.mo): time 2.278/2.278, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 59.91 kB / 0.9515 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9584/0.9599, allocations: 140.4 MB / 1.089 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003203/0.9632, allocations: 1.741 MB / 1.09 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001576/0.9648, allocations: 0.894 MB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.82e-05/0.9649, allocations: 1.094 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000198/0.9651, allocations: 34.64 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003978/0.9655, allocations: 114.1 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004046/0.9659, allocations: 153 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003483/0.9663, allocations: 247.6 kB / 1.092 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.9664, allocations: 33.42 kB / 1.092 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.9666, allocations: 115.3 kB / 1.092 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01005/0.9767, allocations: 1.701 MB / 1.093 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.9768, allocations: 21.69 kB / 1.094 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.977, allocations: 38.69 kB / 1.094 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.955e-05/0.977, allocations: 44.39 kB / 1.094 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001461/0.9772, allocations: 88.61 kB / 1.094 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004527/0.9777, allocations: 217.8 kB / 1.094 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.9777, allocations: 0.7969 kB / 1.094 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9777, allocations: 0.625 kB / 1.094 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.9777, allocations: 0 / 1.094 GB, free: 3.008 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.000825/0.9785, allocations: 0.5511 MB / 1.094 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.9786, allocations: 8.672 kB / 1.094 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.385e-05/0.9787, allocations: 20.06 kB / 1.094 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002717/0.9789, allocations: 249.2 kB / 1.095 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.979, allocations: 6.922 kB / 1.095 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.031e-05/0.979, allocations: 14.72 kB / 1.095 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.9792, allocations: 89.78 kB / 1.095 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.9792, allocations: 0 / 1.095 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.9793, allocations: 6.203 kB / 1.095 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.9793, allocations: 3.172 kB / 1.095 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.9794, allocations: 59.22 kB / 1.095 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008217/0.9802, allocations: 462 kB / 1.095 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004657/0.9807, allocations: 139.2 kB / 1.095 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.864e-05/0.9808, allocations: 42.22 kB / 1.095 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.9808, allocations: 1.75 kB / 1.095 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002908/0.9811, allocations: 112.4 kB / 1.096 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.9811, allocations: 0.6562 kB / 1.096 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.000378/0.9815, allocations: 166.8 kB / 1.096 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.9816, allocations: 55.56 kB / 1.096 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.9818, allocations: 201.8 kB / 1.096 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/0.9818, allocations: 33.73 kB / 1.096 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.633e-05/0.9819, allocations: 126.2 kB / 1.096 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.982, allocations: 35.78 kB / 1.096 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.9821, allocations: 59.64 kB / 1.096 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.46e-05/0.9821, allocations: 329.2 kB / 1.097 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.33e-05/0.9822, allocations: 35.31 kB / 1.097 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/0.9825, allocations: 133.8 kB / 1.097 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.9826, allocations: 100.5 kB / 1.097 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.9826, allocations: 1.125 kB / 1.097 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000269/0.9829, allocations: 156.9 kB / 1.097 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.9829, allocations: 7.281 kB / 1.097 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.9829, allocations: 5.156 kB / 1.097 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.983, allocations: 1.625 kB / 1.097 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.153e-05/0.9831, allocations: 14.11 kB / 1.097 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.9831, allocations: 2.703 kB / 1.097 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/0.9833, allocations: 28.94 kB / 1.097 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.9833, allocations: 9.594 kB / 1.097 GB, free: 0.5859 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.000126/0.9835, allocations: 142 kB / 1.097 GB, free: 460 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.665e-05/0.9835, allocations: 20.36 kB / 1.097 GB, free: 448 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.78e-05/0.9836, allocations: 20.41 kB / 1.097 GB, free: 436 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.9836, allocations: 0.5156 kB / 1.097 GB, free: 436 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.9836, allocations: 0.7031 kB / 1.097 GB, free: 436 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.029e-05/0.9836, allocations: 94.28 kB / 1.097 GB, free: 328 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.9837, allocations: 6.047 kB / 1.097 GB, free: 324 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.9838, allocations: 16.33 kB / 1.097 GB, free: 320 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.71e-05/0.9839, allocations: 20.23 kB / 1.097 GB, free: 316 kB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003044/0.9842, allocations: 219.8 kB / 1.098 GB, free: 168 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003128/0.9845, allocations: 305.9 kB / 1.098 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001083/0.9846, allocations: 53.02 kB / 1.098 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001473/0.9848, allocations: 137.9 kB / 1.098 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of Backend: time 5.21e-07/0.9848, allocations: 0 / 1.098 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008146/0.9856, allocations: 240.6 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0009276/0.9865, allocations: 0.7497 MB / 1.099 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of Templates: time 0.01015/0.9967, allocations: 3.761 MB / 1.103 GB, free: 14.68 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches