Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.001055/0.001055, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001606/0.001606, allocations: 181 kB / 23.36 MB, free: 1.133 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.003/1.003, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.465/2.465, allocations: 438.8 MB / 0.6827 GB, free: 13.62 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.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.765e-06/2.765e-06, allocations: 3.984 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.386e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.002619/0.002643, allocations: 1.841 MB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.003836, allocations: 0.9392 MB / 0.8413 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.449e-05/0.003901, allocations: 3.938 kB / 0.8413 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.00407, allocations: 31.72 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002687/0.004338, allocations: 119.3 kB / 0.8415 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.00458, allocations: 147.6 kB / 0.8416 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002118/0.004792, allocations: 243.3 kB / 0.8418 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.004899, allocations: 34.38 kB / 0.8419 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0161/0.021, allocations: 6.359 MB / 0.8481 GB, free: 6.723 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.02119, allocations: 95.73 kB / 0.8482 GB, free: 6.629 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.352e-05/0.02123, allocations: 16 kB / 0.8482 GB, free: 6.613 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.758e-05/0.02131, allocations: 35.92 kB / 0.8482 GB, free: 6.578 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.33e-05/0.02137, allocations: 43.77 kB / 0.8483 GB, free: 6.535 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.983e-05/0.02144, allocations: 59.81 kB / 0.8483 GB, free: 6.477 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002879/0.02172, allocations: 191.3 kB / 0.8485 GB, free: 6.289 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.02173, allocations: 0 / 0.8485 GB, free: 6.289 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.42e-07/0.02173, allocations: 0 / 0.8485 GB, free: 6.289 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.02173, allocations: 0 / 0.8485 GB, free: 6.289 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005242/0.02226, allocations: 463 kB / 0.8489 GB, free: 5.801 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.02229, allocations: 8.625 kB / 0.8489 GB, free: 5.793 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.464e-05/0.02234, allocations: 20.92 kB / 0.849 GB, free: 5.773 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.02252, allocations: 182.2 kB / 0.8491 GB, free: 5.57 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.02253, allocations: 12.38 kB / 0.8492 GB, free: 5.559 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.02255, allocations: 19.94 kB / 0.8492 GB, free: 5.539 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.02267, allocations: 94.95 kB / 0.8493 GB, free: 5.438 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.02268, allocations: 0 / 0.8493 GB, free: 5.438 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.02269, allocations: 4 kB / 0.8493 GB, free: 5.434 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.02269, allocations: 4 kB / 0.8493 GB, free: 5.43 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.361e-05/0.02273, allocations: 34.94 kB / 0.8493 GB, free: 5.398 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004478/0.02318, allocations: 360.1 kB / 0.8496 GB, free: 5.027 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.979e-05/0.02328, allocations: 65.12 kB / 0.8497 GB, free: 4.945 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.789e-05/0.02331, allocations: 21.78 kB / 0.8497 GB, free: 4.918 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.02332, allocations: 4.125 kB / 0.8497 GB, free: 4.914 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001215/0.02345, allocations: 108.3 kB / 0.8498 GB, free: 4.793 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.02345, allocations: 0 / 0.8498 GB, free: 4.793 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15): time 0.0001633/0.02361, allocations: 101.7 kB / 0.8499 GB, free: 4.688 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.02365, allocations: 85.14 kB / 0.85 GB, free: 4.586 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.02377, allocations: 191.8 kB / 0.8502 GB, free: 4.387 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.02379, allocations: 37.69 kB / 0.8502 GB, free: 4.344 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.131e-05/0.02384, allocations: 108.5 kB / 0.8503 GB, free: 4.234 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.02387, allocations: 43.62 kB / 0.8504 GB, free: 4.191 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.604e-05/0.02393, allocations: 61.64 kB / 0.8504 GB, free: 4.125 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.019e-05/0.02401, allocations: 334.8 kB / 0.8508 GB, free: 3.789 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.291e-05/0.02403, allocations: 15.94 kB / 0.8508 GB, free: 3.773 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.02419, allocations: 227.7 kB / 0.851 GB, free: 3.488 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.145e-05/0.02428, allocations: 108.8 kB / 0.8511 GB, free: 3.359 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.02428, allocations: 0 / 0.8511 GB, free: 3.359 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001194/0.0244, allocations: 112.6 kB / 0.8512 GB, free: 3.246 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.02441, allocations: 11.94 kB / 0.8512 GB, free: 3.234 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.02442, allocations: 0 / 0.8512 GB, free: 3.234 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.02443, allocations: 4.156 kB / 0.8512 GB, free: 3.23 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.236e-05/0.0245, allocations: 31.92 kB / 0.8512 GB, free: 3.199 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.646e-06/0.02451, allocations: 0 / 0.8512 GB, free: 3.199 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.638e-05/0.0246, allocations: 23.94 kB / 0.8513 GB, free: 3.176 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-06/0.02461, allocations: 8 kB / 0.8513 GB, free: 3.168 MB / 0.8073 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 8.437e-05/0.0247, allocations: 134.5 kB / 0.8514 GB, free: 3.023 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.899e-05/0.02471, allocations: 15.92 kB / 0.8514 GB, free: 3.008 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.252e-05/0.02475, allocations: 25.45 kB / 0.8514 GB, free: 2.988 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.02475, allocations: 4 kB / 0.8514 GB, free: 2.984 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.02475, allocations: 0 / 0.8514 GB, free: 2.984 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.02476, allocations: 4 kB / 0.8514 GB, free: 2.98 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000294/0.02505, allocations: 286.6 kB / 0.8517 GB, free: 2.676 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.02505, allocations: 0 / 0.8517 GB, free: 2.676 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.742e-05/0.02507, allocations: 8 kB / 0.8517 GB, free: 2.668 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.02507, allocations: 4 kB / 0.8517 GB, free: 2.664 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.02508, allocations: 4 kB / 0.8517 GB, free: 2.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.02508, allocations: 0 / 0.8517 GB, free: 2.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.02508, allocations: 4 kB / 0.8517 GB, free: 2.656 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.02519, allocations: 196.2 kB / 0.8519 GB, free: 2.445 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.494e-05/0.02521, allocations: 19.84 kB / 0.8519 GB, free: 2.426 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.02522, allocations: 4 kB / 0.852 GB, free: 2.422 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.858e-05/0.02528, allocations: 11.98 kB / 0.852 GB, free: 2.41 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.02532, allocations: 19.97 kB / 0.852 GB, free: 2.391 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.02534, allocations: 7.984 kB / 0.852 GB, free: 2.383 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.984e-05/0.02538, allocations: 53.8 kB / 0.852 GB, free: 2.328 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.02538, allocations: 0 / 0.852 GB, free: 2.328 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001815/0.02556, allocations: 47.89 kB / 0.8521 GB, free: 2.281 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.000309/0.02587, allocations: 166.5 kB / 0.8522 GB, free: 2.137 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001164/0.02599, allocations: 72.14 kB / 0.8523 GB, free: 2.066 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.02599, allocations: 0 / 0.8523 GB, free: 2.066 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.213e-05/0.02605, allocations: 45.89 kB / 0.8524 GB, free: 2.02 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.02628, allocations: 75.36 kB / 0.8524 GB, free: 1.949 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004374/0.02671, allocations: 275 kB / 0.8527 GB, free: 1.648 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.011e-05/0.02676, allocations: 80.3 kB / 0.8528 GB, free: 1.551 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.752e-05/0.02683, allocations: 25.62 kB / 0.8528 GB, free: 1.52 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.027, allocations: 109.3 kB / 0.8529 GB, free: 1.414 MB / 0.8073 GB Notification: Performance of SimCode: time 1.533e-06/0.027, allocations: 0 / 0.8529 GB, free: 1.414 MB / 0.8073 GB Notification: Performance of Templates: time 0.01309/0.04009, allocations: 4.019 MB / 0.8568 GB, free: 13.46 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.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.598068445920944]