Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.001068/0.001068, 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.001293/0.001293, allocations: 177 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.025/1.025, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.498/2.498, allocations: 438.8 MB / 0.6827 GB, free: 13.59 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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.303e-05/2.429e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.002576/0.0026, allocations: 1.824 MB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001237/0.003837, allocations: 0.9431 MB / 0.8413 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.275e-05/0.00391, allocations: 4 kB / 0.8413 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001641/0.004074, allocations: 23.73 kB / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.000286/0.00436, allocations: 123.3 kB / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002761/0.004636, allocations: 155.6 kB / 0.8416 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002374/0.004873, allocations: 243.3 kB / 0.8418 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.004983, allocations: 30.39 kB / 0.8419 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01445/0.01943, allocations: 5.275 MB / 0.847 GB, free: 7.441 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.01964, allocations: 95.75 kB / 0.8471 GB, free: 7.348 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.947e-05/0.01968, allocations: 16 kB / 0.8471 GB, free: 7.332 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.01978, allocations: 39.91 kB / 0.8471 GB, free: 7.293 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.733e-05/0.01983, allocations: 39.83 kB / 0.8472 GB, free: 7.254 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.64e-05/0.01991, allocations: 59.88 kB / 0.8472 GB, free: 7.195 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003084/0.02022, allocations: 183.3 kB / 0.8474 GB, free: 7.016 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.02022, allocations: 0 / 0.8474 GB, free: 7.016 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.623e-06/0.02023, allocations: 0 / 0.8474 GB, free: 7.016 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.02023, allocations: 4 kB / 0.8474 GB, free: 7.012 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.0005684/0.0208, allocations: 459 kB / 0.8479 GB, free: 6.527 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.02083, allocations: 8.625 kB / 0.8479 GB, free: 6.52 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.459e-05/0.02089, allocations: 32.84 kB / 0.8479 GB, free: 6.488 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.02109, allocations: 170.2 kB / 0.8481 GB, free: 6.297 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.0211, allocations: 8.375 kB / 0.8481 GB, free: 6.289 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.02113, allocations: 23.88 kB / 0.8481 GB, free: 6.266 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.02125, allocations: 98.36 kB / 0.8482 GB, free: 6.16 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.02126, allocations: 8 kB / 0.8482 GB, free: 6.152 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.02127, allocations: 0 / 0.8482 GB, free: 6.152 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.02128, allocations: 0 / 0.8482 GB, free: 6.152 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.824e-05/0.02133, allocations: 31.89 kB / 0.8482 GB, free: 6.121 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004781/0.0218, allocations: 348.1 kB / 0.8486 GB, free: 5.762 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.02191, allocations: 77.25 kB / 0.8486 GB, free: 5.668 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.875e-05/0.02194, allocations: 25.77 kB / 0.8487 GB, free: 5.637 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.02196, allocations: 4 kB / 0.8487 GB, free: 5.633 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001236/0.02208, allocations: 93.06 kB / 0.8487 GB, free: 5.523 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=15): time 9.82e-07/0.02208, allocations: 0 / 0.8487 GB, free: 5.523 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15): time 0.0001659/0.02225, allocations: 101.6 kB / 0.8488 GB, free: 5.418 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.02229, allocations: 85.05 kB / 0.8489 GB, free: 5.316 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.02242, allocations: 199.8 kB / 0.8491 GB, free: 5.109 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.02244, allocations: 33.83 kB / 0.8491 GB, free: 5.07 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.748e-05/0.0225, allocations: 112.5 kB / 0.8493 GB, free: 4.957 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.02253, allocations: 43.66 kB / 0.8493 GB, free: 4.914 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.26e-05/0.02259, allocations: 53.66 kB / 0.8493 GB, free: 4.855 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.755e-05/0.02268, allocations: 330.8 kB / 0.8497 GB, free: 4.523 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.347e-05/0.0227, allocations: 15.98 kB / 0.8497 GB, free: 4.508 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.02287, allocations: 231.7 kB / 0.8499 GB, free: 4.219 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.313e-05/0.02296, allocations: 104.3 kB / 0.85 GB, free: 4.098 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.02296, allocations: 0 / 0.85 GB, free: 4.098 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001214/0.02308, allocations: 109.5 kB / 0.8501 GB, free: 3.984 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.0231, allocations: 10.75 kB / 0.8501 GB, free: 3.977 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.0231, allocations: 4 kB / 0.8501 GB, free: 3.973 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.02312, allocations: 0 / 0.8501 GB, free: 3.973 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.315e-05/0.02319, allocations: 31.86 kB / 0.8501 GB, free: 3.941 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.02319, allocations: 4 kB / 0.8502 GB, free: 3.938 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.625e-05/0.02329, allocations: 28.09 kB / 0.8502 GB, free: 3.91 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.0233, allocations: 4 kB / 0.8502 GB, free: 3.906 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 9.612e-05/0.02339, allocations: 138.6 kB / 0.8503 GB, free: 3.758 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.02342, allocations: 19.92 kB / 0.8503 GB, free: 3.738 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.606e-05/0.02345, allocations: 21.45 kB / 0.8504 GB, free: 3.723 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.02345, allocations: 0 / 0.8504 GB, free: 3.723 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.02346, allocations: 4 kB / 0.8504 GB, free: 3.719 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.02346, allocations: 4 kB / 0.8504 GB, free: 3.715 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/0.02377, allocations: 294.5 kB / 0.8506 GB, free: 3.402 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.02377, allocations: 4 kB / 0.8506 GB, free: 3.398 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.193e-05/0.02379, allocations: 7.938 kB / 0.8507 GB, free: 3.391 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.0238, allocations: 3.984 kB / 0.8507 GB, free: 3.387 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-06/0.02381, allocations: 4 kB / 0.8507 GB, free: 3.383 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.02381, allocations: 7.984 kB / 0.8507 GB, free: 3.375 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.02381, allocations: 0 / 0.8507 GB, free: 3.375 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.02394, allocations: 180.2 kB / 0.8508 GB, free: 3.18 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.993e-05/0.02396, allocations: 19.91 kB / 0.8509 GB, free: 3.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.02397, allocations: 7.984 kB / 0.8509 GB, free: 3.152 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.905e-05/0.02403, allocations: 11.98 kB / 0.8509 GB, free: 3.141 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.02409, allocations: 19.97 kB / 0.8509 GB, free: 3.121 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.02411, allocations: 8 kB / 0.8509 GB, free: 3.113 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.762e-05/0.02415, allocations: 57.73 kB / 0.851 GB, free: 3.055 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.02415, allocations: 0 / 0.851 GB, free: 3.055 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001952/0.02435, allocations: 55.88 kB / 0.851 GB, free: 3 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.0003607/0.02471, allocations: 156.1 kB / 0.8512 GB, free: 2.867 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001277/0.02484, allocations: 79.55 kB / 0.8512 GB, free: 2.793 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.02484, allocations: 0 / 0.8512 GB, free: 2.793 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.109e-05/0.02489, allocations: 53.02 kB / 0.8513 GB, free: 2.738 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.02513, allocations: 66.39 kB / 0.8514 GB, free: 2.676 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004465/0.02558, allocations: 293.1 kB / 0.8516 GB, free: 2.355 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.623e-05/0.02562, allocations: 72 kB / 0.8517 GB, free: 2.266 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.897e-05/0.02568, allocations: 25.61 kB / 0.8517 GB, free: 2.234 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.02584, allocations: 113.3 kB / 0.8518 GB, free: 2.125 MB / 0.8073 GB Notification: Performance of SimCode: time 8.72e-07/0.02584, allocations: 4.062 kB / 0.8518 GB, free: 2.121 MB / 0.8073 GB Notification: Performance of Templates: time 0.005923/0.03177, allocations: 4.007 MB / 0.8557 GB, free: 14.17 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.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.645681818947196]