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.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.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.0009931/0.0009928, allocations: 92.62 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 175 kB / 16.92 MB, free: 6.652 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.541/1.541, allocations: 223.3 MB / 241 MB, free: 5.285 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.512/2.512, allocations: 390.9 MB / 0.667 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003523, allocations: 8 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6829/0.6832, allocations: 142.4 MB / 0.9557 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.002092/0.6854, allocations: 1.548 MB / 0.9572 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001589/0.687, allocations: 0.9185 MB / 0.9581 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.6871, allocations: 1.062 kB / 0.9581 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002003/0.6874, allocations: 28.47 kB / 0.9581 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003718/0.6877, allocations: 91.31 kB / 0.9582 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000399/0.6881, allocations: 146.1 kB / 0.9584 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003021/0.6885, allocations: 220.5 kB / 0.9586 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.6886, allocations: 44.8 kB / 0.9586 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001842/0.6888, allocations: 99.17 kB / 0.9587 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05369/0.7425, allocations: 3.614 MB / 0.9622 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.209e-05/0.7426, allocations: 8.156 kB / 0.9622 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.7427, allocations: 22.69 kB / 0.9623 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.827e-05/0.7428, allocations: 32.09 kB / 0.9623 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.7429, allocations: 115.5 kB / 0.9624 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.7432, allocations: 144.9 kB / 0.9625 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.7432, allocations: 0 / 0.9625 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7432, allocations: 0 / 0.9625 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.7432, allocations: 1.25 kB / 0.9625 GB, free: 3.754 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.0007433/0.744, allocations: 0.5143 MB / 0.963 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.744, allocations: 9.281 kB / 0.9631 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.331e-05/0.7441, allocations: 23.5 kB / 0.9631 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.7444, allocations: 251 kB / 0.9633 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.7444, allocations: 10.41 kB / 0.9633 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.778e-05/0.7444, allocations: 14.34 kB / 0.9633 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.7446, allocations: 85.28 kB / 0.9634 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.7446, allocations: 0 / 0.9634 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.7447, allocations: 4.969 kB / 0.9634 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.7447, allocations: 2.094 kB / 0.9634 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.7448, allocations: 52.34 kB / 0.9635 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007544/0.7455, allocations: 479.2 kB / 0.9639 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004351/0.746, allocations: 159.7 kB / 0.9641 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.494e-05/0.7461, allocations: 38.19 kB / 0.9641 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.7461, allocations: 5.016 kB / 0.9641 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001873/0.7463, allocations: 111.8 kB / 0.9642 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.7463, allocations: 1.094 kB / 0.9642 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0003506/0.7467, allocations: 170.1 kB / 0.9644 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.7467, allocations: 58.91 kB / 0.9645 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.7469, allocations: 202.1 kB / 0.9646 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.7469, allocations: 34.42 kB / 0.9647 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.099e-05/0.747, allocations: 117.1 kB / 0.9648 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/0.747, allocations: 33.3 kB / 0.9648 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/0.7471, allocations: 29.39 kB / 0.9649 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.497e-05/0.7472, allocations: 331.6 kB / 0.9652 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.627e-05/0.7472, allocations: 34.52 kB / 0.9652 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.7475, allocations: 130.6 kB / 0.9653 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.7476, allocations: 103.5 kB / 0.9654 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.7476, allocations: 0 / 0.9654 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002553/0.7479, allocations: 156.7 kB / 0.9656 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.7479, allocations: 6.812 kB / 0.9656 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.7479, allocations: 0 / 0.9656 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.7479, allocations: 1.656 kB / 0.9656 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.124e-05/0.748, allocations: 20.75 kB / 0.9656 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.748, allocations: 3.562 kB / 0.9656 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/0.7483, allocations: 34.12 kB / 0.9656 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.7483, allocations: 7.438 kB / 0.9656 GB, free: 1.074 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,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.0001052/0.7484, allocations: 137.9 kB / 0.9658 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.874e-05/0.7484, allocations: 20.69 kB / 0.9658 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.388e-05/0.7485, allocations: 20.98 kB / 0.9658 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.7485, allocations: 2.812 kB / 0.9658 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.7485, allocations: 0 / 0.9658 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.7485, allocations: 8 kB / 0.9658 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006203/0.7491, allocations: 0.4933 MB / 0.9663 GB, free: 492 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.7491, allocations: 4 kB / 0.9663 GB, free: 488 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.485e-05/0.7492, allocations: 7.969 kB / 0.9663 GB, free: 484 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.7492, allocations: 1.031 kB / 0.9663 GB, free: 484 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.7492, allocations: 0.9688 kB / 0.9663 GB, free: 484 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.7492, allocations: 8.906 kB / 0.9663 GB, free: 476 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.7492, allocations: 0 / 0.9663 GB, free: 476 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.7494, allocations: 234.7 kB / 0.9666 GB, free: 288 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.145e-05/0.7495, allocations: 102.2 kB / 0.9667 GB, free: 172 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000265/0.7497, allocations: 5.031 kB / 0.9667 GB, free: 168 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.7499, allocations: 23.92 kB / 0.9667 GB, free: 156 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.252e-05/0.75, allocations: 21 kB / 0.9667 GB, free: 144 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.688e-05/0.75, allocations: 10.22 kB / 0.9667 GB, free: 140 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000114/0.7501, allocations: 137.5 kB / 0.9668 GB, free: 36 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7501, allocations: 0 / 0.9668 GB, free: 36 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000328/0.7505, allocations: 55.8 kB / 0.9669 GB, free: 16 kB / 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 (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.0003883/0.7509, allocations: 165.7 kB / 0.9671 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002603/0.7511, allocations: 107.2 kB / 0.9672 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.7511, allocations: 0 / 0.9672 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.7513, allocations: 52.55 kB / 0.9672 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.7517, allocations: 51.78 kB / 0.9673 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006843/0.7524, allocations: 356.7 kB / 0.9676 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.7528, allocations: 0.7212 MB / 0.9683 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.818e-05/0.7529, allocations: 27.52 kB / 0.9683 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of SimCode: time 5.71e-07/0.7529, allocations: 4.938 kB / 0.9683 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of Templates: time 0.007358/0.7602, allocations: 3.194 MB / 0.9714 GB, free: 13.14 MB / 0.7325 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,plotConfiguration.active,sca.active,scaDel.active Variables in the result:plotConfiguration.active,sca.active,scaDel.active,time