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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001341/0.001341, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001646/0.001646, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.451/2.451, allocations: 390.3 MB / 0.6653 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003668/0.0003668, allocations: 8 kB / 0.8145 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.946/0.9463, allocations: 142.3 MB / 0.9535 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002121/0.9485, allocations: 1.473 MB / 0.9549 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001447/0.95, allocations: 0.8933 MB / 0.9558 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.744e-05/0.9501, allocations: 5.25 kB / 0.9558 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000179/0.9503, allocations: 15.8 kB / 0.9558 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003249/0.9506, allocations: 108.2 kB / 0.9559 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003267/0.951, allocations: 148.3 kB / 0.9561 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002286/0.9512, allocations: 136.7 kB / 0.9562 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.9513, allocations: 20.19 kB / 0.9562 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.9515, allocations: 101.3 kB / 0.9563 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001522/0.953, allocations: 1.024 MB / 0.9573 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.301e-05/0.9531, allocations: 9.062 kB / 0.9573 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.239e-05/0.9532, allocations: 18.77 kB / 0.9573 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.175e-05/0.9532, allocations: 35.97 kB / 0.9574 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.015e-05/0.9533, allocations: 46.52 kB / 0.9574 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.9535, allocations: 147.1 kB / 0.9576 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.9535, allocations: 4 kB / 0.9576 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.695e-06/0.9535, allocations: 0 / 0.9576 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.9535, allocations: 0 / 0.9576 GB, free: 5.27 MB / 0.7169 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.0007506/0.9543, allocations: 0.5212 MB / 0.9581 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.9543, allocations: 9.625 kB / 0.9581 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.206e-05/0.9544, allocations: 26.7 kB / 0.9581 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.9547, allocations: 231.3 kB / 0.9583 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.9547, allocations: 10.88 kB / 0.9583 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.63e-05/0.9548, allocations: 13.61 kB / 0.9584 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.9549, allocations: 93.23 kB / 0.9584 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.955, allocations: 0 / 0.9584 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.955, allocations: 5.375 kB / 0.9585 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.955, allocations: 1.375 kB / 0.9585 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.9551, allocations: 55.41 kB / 0.9585 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007662/0.9559, allocations: 489.8 kB / 0.959 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004328/0.9563, allocations: 155.4 kB / 0.9591 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.9563, allocations: 5.234 kB / 0.9591 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002224/0.9566, allocations: 114.3 kB / 0.9592 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.9566, allocations: 0 / 0.9592 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0003444/0.9569, allocations: 159.6 kB / 0.9594 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.957, allocations: 58.69 kB / 0.9594 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.9572, allocations: 198.9 kB / 0.9596 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.9572, allocations: 38.27 kB / 0.9597 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.683e-05/0.9573, allocations: 116.9 kB / 0.9598 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.9573, allocations: 41.91 kB / 0.9598 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-06/0.9573, allocations: 1.188 kB / 0.9598 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.51e-05/0.9574, allocations: 326.8 kB / 0.9601 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.44e-05/0.9575, allocations: 38.7 kB / 0.9602 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.9577, allocations: 125.5 kB / 0.9603 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.517e-05/0.9578, allocations: 35.81 kB / 0.9603 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.9578, allocations: 0.8125 kB / 0.9603 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002407/0.958, allocations: 156.1 kB / 0.9605 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.9581, allocations: 11.8 kB / 0.9605 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.9581, allocations: 0.9062 kB / 0.9605 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.9581, allocations: 2 kB / 0.9605 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.109e-05/0.9582, allocations: 19.75 kB / 0.9605 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.9582, allocations: 2.25 kB / 0.9605 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.9584, allocations: 32.94 kB / 0.9605 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.9584, allocations: 9 kB / 0.9605 GB, free: 2.688 MB / 0.7169 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,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.9586, allocations: 132.7 kB / 0.9607 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.686e-05/0.9586, allocations: 19.53 kB / 0.9607 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.335e-05/0.9586, allocations: 29.53 kB / 0.9607 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.9586, allocations: 2.344 kB / 0.9607 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.9587, allocations: 0 / 0.9607 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.9587, allocations: 4.75 kB / 0.9607 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006173/0.9593, allocations: 0.4939 MB / 0.9612 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.9593, allocations: 4 kB / 0.9612 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.122e-05/0.9593, allocations: 4.094 kB / 0.9612 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.9593, allocations: 0.875 kB / 0.9612 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.9594, allocations: 4.844 kB / 0.9612 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.9594, allocations: 1 kB / 0.9612 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.9594, allocations: 0 / 0.9612 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.9596, allocations: 242.2 kB / 0.9615 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.775e-05/0.9597, allocations: 97.62 kB / 0.9615 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.9597, allocations: 5.156 kB / 0.9616 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.9598, allocations: 15.8 kB / 0.9616 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.001e-05/0.9599, allocations: 24.66 kB / 0.9616 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.551e-05/0.96, allocations: 17.73 kB / 0.9616 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001156/0.9601, allocations: 140.1 kB / 0.9617 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9601, allocations: 0 / 0.9617 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003116/0.9604, allocations: 47.03 kB / 0.9618 GB, free: 1.637 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004061/0.9608, allocations: 174.9 kB / 0.962 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000245/0.9611, allocations: 98.92 kB / 0.962 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.9611, allocations: 0.9375 kB / 0.9621 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.9612, allocations: 51.83 kB / 0.9621 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.9615, allocations: 47 kB / 0.9621 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006814/0.9622, allocations: 350.4 kB / 0.9625 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001914/0.9624, allocations: 0.7232 MB / 0.9632 GB, free: 456 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.634e-05/0.9625, allocations: 27.03 kB / 0.9632 GB, free: 444 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.152e-05/0.9626, allocations: 18.94 kB / 0.9632 GB, free: 440 kB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.9626, allocations: 4 kB / 0.9632 GB, free: 436 kB / 0.7169 GB Notification: Performance of Templates: time 0.007472/0.97, allocations: 3.338 MB / 0.9665 GB, free: 14.74 MB / 0.7325 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","../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches