Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000975/0.000975, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 181 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.015/1.015, allocations: 177.2 MB / 203.8 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.444/2.444, allocations: 438.8 MB / 0.6827 GB, free: 13.63 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.677e-05/1.821e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003458/0.003476, allocations: 1.833 MB / 0.8404 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001881/0.005357, allocations: 0.943 MB / 0.8413 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.717e-05/0.005454, allocations: 4 kB / 0.8413 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.005648, allocations: 31.72 kB / 0.8413 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003911/0.006039, allocations: 119.3 kB / 0.8415 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000405/0.006444, allocations: 155.6 kB / 0.8416 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003265/0.006771, allocations: 243.3 kB / 0.8418 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.00689, allocations: 26.39 kB / 0.8419 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02385/0.03074, allocations: 6.504 MB / 0.8482 GB, free: 6.652 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.0309, allocations: 99.72 kB / 0.8483 GB, free: 6.555 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.892e-05/0.03092, allocations: 12 kB / 0.8483 GB, free: 6.543 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.914e-05/0.031, allocations: 31.94 kB / 0.8483 GB, free: 6.512 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.718e-05/0.03105, allocations: 39.83 kB / 0.8484 GB, free: 6.473 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.291e-05/0.03111, allocations: 63.81 kB / 0.8484 GB, free: 6.41 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.03135, allocations: 183.3 kB / 0.8486 GB, free: 6.23 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.03136, allocations: 4 kB / 0.8486 GB, free: 6.227 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.062e-06/0.03136, allocations: 0 / 0.8486 GB, free: 6.227 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.03136, allocations: 0 / 0.8486 GB, free: 6.227 MB / 0.8073 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.0005136/0.03187, allocations: 459 kB / 0.8491 GB, free: 5.742 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.03191, allocations: 8.625 kB / 0.8491 GB, free: 5.734 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.229e-05/0.03196, allocations: 20.91 kB / 0.8491 GB, free: 5.715 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.03214, allocations: 178.2 kB / 0.8493 GB, free: 5.516 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.03215, allocations: 12.38 kB / 0.8493 GB, free: 5.504 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.03217, allocations: 23.94 kB / 0.8493 GB, free: 5.48 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.739e-05/0.03226, allocations: 65.64 kB / 0.8494 GB, free: 5.41 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.03227, allocations: 0 / 0.8494 GB, free: 5.41 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.03227, allocations: 4 kB / 0.8494 GB, free: 5.406 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.03228, allocations: 4 kB / 0.8494 GB, free: 5.402 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.837e-05/0.03232, allocations: 27.53 kB / 0.8494 GB, free: 5.379 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003636/0.03268, allocations: 264 kB / 0.8496 GB, free: 5.105 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.03285, allocations: 98.38 kB / 0.8497 GB, free: 5 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.358e-05/0.03287, allocations: 20.86 kB / 0.8498 GB, free: 4.977 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.03288, allocations: 0 / 0.8498 GB, free: 4.977 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001104/0.03299, allocations: 90.42 kB / 0.8498 GB, free: 4.879 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.052e-06/0.03299, allocations: 0 / 0.8498 GB, free: 4.879 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0001411/0.03313, allocations: 101.6 kB / 0.8499 GB, free: 4.773 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.03317, allocations: 67.27 kB / 0.85 GB, free: 4.695 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.949e-05/0.03326, allocations: 192 kB / 0.8502 GB, free: 4.496 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.03329, allocations: 33.7 kB / 0.8502 GB, free: 4.457 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.609e-05/0.03333, allocations: 112.5 kB / 0.8503 GB, free: 4.344 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.03336, allocations: 35.67 kB / 0.8504 GB, free: 4.309 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.858e-05/0.03342, allocations: 61.64 kB / 0.8504 GB, free: 4.242 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.391e-05/0.03349, allocations: 334.8 kB / 0.8507 GB, free: 3.906 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.124e-05/0.03351, allocations: 15.98 kB / 0.8508 GB, free: 3.891 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.03366, allocations: 214 kB / 0.851 GB, free: 3.625 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.486e-05/0.03374, allocations: 90.86 kB / 0.851 GB, free: 3.52 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.03374, allocations: 0 / 0.851 GB, free: 3.52 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001137/0.03385, allocations: 104.9 kB / 0.8511 GB, free: 3.414 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.03387, allocations: 11.94 kB / 0.8512 GB, free: 3.402 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.03387, allocations: 3.984 kB / 0.8512 GB, free: 3.398 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.03389, allocations: 4 kB / 0.8512 GB, free: 3.395 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.517e-05/0.03394, allocations: 23.92 kB / 0.8512 GB, free: 3.371 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.03395, allocations: 4 kB / 0.8512 GB, free: 3.367 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.612e-05/0.03403, allocations: 32 kB / 0.8512 GB, free: 3.336 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.03404, allocations: 4 kB / 0.8512 GB, free: 3.332 MB / 0.8073 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 7.915e-05/0.03412, allocations: 130.6 kB / 0.8514 GB, free: 3.191 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.65e-05/0.03414, allocations: 11.98 kB / 0.8514 GB, free: 3.18 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.976e-05/0.03417, allocations: 29.73 kB / 0.8514 GB, free: 3.152 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.03417, allocations: 4 kB / 0.8514 GB, free: 3.148 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.03417, allocations: 0 / 0.8514 GB, free: 3.148 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.03418, allocations: 0 / 0.8514 GB, free: 3.148 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002841/0.03446, allocations: 310.5 kB / 0.8517 GB, free: 2.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.03446, allocations: 0 / 0.8517 GB, free: 2.82 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.384e-05/0.03447, allocations: 8 kB / 0.8517 GB, free: 2.812 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.03448, allocations: 3.938 kB / 0.8517 GB, free: 2.809 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.03448, allocations: 7.984 kB / 0.8517 GB, free: 2.801 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.03449, allocations: 0 / 0.8517 GB, free: 2.801 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.03449, allocations: 0 / 0.8517 GB, free: 2.801 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.03459, allocations: 190.7 kB / 0.8519 GB, free: 2.602 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.339e-05/0.0346, allocations: 19.78 kB / 0.8519 GB, free: 2.582 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.03461, allocations: 3.984 kB / 0.8519 GB, free: 2.578 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.531e-05/0.03467, allocations: 23.98 kB / 0.8519 GB, free: 2.555 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.03471, allocations: 19.97 kB / 0.852 GB, free: 2.535 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.03473, allocations: 4 kB / 0.852 GB, free: 2.531 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.958e-05/0.03477, allocations: 53.8 kB / 0.852 GB, free: 2.477 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.03477, allocations: 0 / 0.852 GB, free: 2.477 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001815/0.03495, allocations: 43.95 kB / 0.8521 GB, free: 2.434 MB / 0.8073 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.0002698/0.03522, allocations: 164.9 kB / 0.8522 GB, free: 2.293 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001127/0.03533, allocations: 80.69 kB / 0.8523 GB, free: 2.211 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.03533, allocations: 256 / 0.8523 GB, free: 2.211 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.735e-05/0.03538, allocations: 44.78 kB / 0.8523 GB, free: 2.164 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.03559, allocations: 61.48 kB / 0.8524 GB, free: 2.109 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003495/0.03594, allocations: 272.3 kB / 0.8526 GB, free: 1.812 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.05e-05/0.03598, allocations: 71.98 kB / 0.8527 GB, free: 1.723 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.294e-05/0.03603, allocations: 17.64 kB / 0.8527 GB, free: 1.707 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.03621, allocations: 117.2 kB / 0.8528 GB, free: 1.59 MB / 0.8073 GB Notification: Performance of SimCode: time 4.9e-07/0.03621, allocations: 4 kB / 0.8528 GB, free: 1.586 MB / 0.8073 GB Notification: Performance of Templates: time 0.005558/0.04176, allocations: 4.082 MB / 0.8568 GB, free: 13.57 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.397437086794525]