Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.001519/0.001519, allocations: 80.94 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.00158/0.00158, allocations: 177 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.2 MB / 203.8 MB, free: 5.484 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.407/2.407, allocations: 438.8 MB / 0.6827 GB, free: 13.61 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.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.293e-05/1.429e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002173/0.002187, allocations: 1.826 MB / 0.8404 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.003349, allocations: 0.9353 MB / 0.8413 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.664e-05/0.003415, allocations: 7.938 kB / 0.8413 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001564/0.003572, allocations: 27.72 kB / 0.8413 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002717/0.003844, allocations: 115.3 kB / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.004103, allocations: 155.6 kB / 0.8416 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004643/0.004568, allocations: 247.3 kB / 0.8418 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.098e-05/0.004659, allocations: 26.39 kB / 0.8418 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01403/0.01868, allocations: 5.402 MB / 0.8471 GB, free: 7.379 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.01886, allocations: 99.73 kB / 0.8472 GB, free: 7.281 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.232e-05/0.01889, allocations: 16 kB / 0.8472 GB, free: 7.266 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.026e-05/0.01897, allocations: 39.92 kB / 0.8473 GB, free: 7.227 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.901e-05/0.01902, allocations: 39.83 kB / 0.8473 GB, free: 7.188 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.227e-05/0.01908, allocations: 63.8 kB / 0.8474 GB, free: 7.125 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.01935, allocations: 179.3 kB / 0.8475 GB, free: 6.949 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.01935, allocations: 3.938 kB / 0.8475 GB, free: 6.945 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.52e-07/0.01935, allocations: 0 / 0.8475 GB, free: 6.945 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.806e-06/0.01936, allocations: 0 / 0.8475 GB, free: 6.945 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.0005294/0.01989, allocations: 459 kB / 0.848 GB, free: 6.461 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.01993, allocations: 12.62 kB / 0.848 GB, free: 6.449 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.696e-05/0.01997, allocations: 20.92 kB / 0.848 GB, free: 6.43 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.02016, allocations: 182.2 kB / 0.8482 GB, free: 6.227 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.02018, allocations: 12.38 kB / 0.8482 GB, free: 6.215 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.0202, allocations: 11.94 kB / 0.8482 GB, free: 6.203 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.414e-05/0.0203, allocations: 73.64 kB / 0.8483 GB, free: 6.125 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.02031, allocations: 0 / 0.8483 GB, free: 6.125 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.02032, allocations: 4 kB / 0.8483 GB, free: 6.121 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.02032, allocations: 4 kB / 0.8483 GB, free: 6.117 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.751e-05/0.02036, allocations: 23.92 kB / 0.8483 GB, free: 6.094 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.02073, allocations: 260 kB / 0.8486 GB, free: 5.824 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.0209, allocations: 94.44 kB / 0.8486 GB, free: 5.723 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.356e-05/0.02092, allocations: 24.78 kB / 0.8487 GB, free: 5.695 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.02094, allocations: 4 kB / 0.8487 GB, free: 5.691 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000106/0.02104, allocations: 83.34 kB / 0.8488 GB, free: 5.598 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.02104, allocations: 0 / 0.8488 GB, free: 5.598 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0001641/0.02121, allocations: 104.4 kB / 0.8489 GB, free: 5.492 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.02124, allocations: 59.34 kB / 0.8489 GB, free: 5.422 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.02136, allocations: 195.9 kB / 0.8491 GB, free: 5.219 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.02138, allocations: 33.7 kB / 0.8491 GB, free: 5.18 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.274e-05/0.02144, allocations: 108.5 kB / 0.8492 GB, free: 5.07 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.02147, allocations: 43.66 kB / 0.8493 GB, free: 5.027 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.327e-05/0.02154, allocations: 53.67 kB / 0.8493 GB, free: 4.969 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.02164, allocations: 334.8 kB / 0.8496 GB, free: 4.633 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.411e-05/0.02166, allocations: 16 kB / 0.8497 GB, free: 4.617 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.02186, allocations: 218 kB / 0.8499 GB, free: 4.348 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.636e-05/0.02195, allocations: 93.41 kB / 0.85 GB, free: 4.242 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.02195, allocations: 0 / 0.85 GB, free: 4.242 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001291/0.02208, allocations: 109.5 kB / 0.8501 GB, free: 4.129 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.0221, allocations: 7.938 kB / 0.8501 GB, free: 4.121 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.02211, allocations: 4 kB / 0.8501 GB, free: 4.117 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.02213, allocations: 0 / 0.8501 GB, free: 4.117 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.509e-05/0.02219, allocations: 27.94 kB / 0.8501 GB, free: 4.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.0222, allocations: 3.984 kB / 0.8501 GB, free: 4.086 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.237e-05/0.02229, allocations: 19.89 kB / 0.8501 GB, free: 4.066 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.0223, allocations: 11.98 kB / 0.8501 GB, free: 4.055 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 9.453e-05/0.02239, allocations: 126.7 kB / 0.8503 GB, free: 3.918 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.948e-05/0.02241, allocations: 23.98 kB / 0.8503 GB, free: 3.895 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.334e-05/0.02245, allocations: 21.75 kB / 0.8503 GB, free: 3.875 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.02245, allocations: 0 / 0.8503 GB, free: 3.875 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.02245, allocations: 3.984 kB / 0.8503 GB, free: 3.871 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.02246, allocations: 0 / 0.8503 GB, free: 3.871 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003188/0.02278, allocations: 314.4 kB / 0.8506 GB, free: 3.539 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.02278, allocations: 4 kB / 0.8506 GB, free: 3.535 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.395e-05/0.02279, allocations: 4 kB / 0.8506 GB, free: 3.531 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.02279, allocations: 0 / 0.8506 GB, free: 3.531 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.02282, allocations: 8 kB / 0.8506 GB, free: 3.523 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.02282, allocations: 0 / 0.8506 GB, free: 3.523 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.02282, allocations: 3.938 kB / 0.8506 GB, free: 3.52 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.02292, allocations: 186.2 kB / 0.8508 GB, free: 3.324 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.543e-05/0.02293, allocations: 19.84 kB / 0.8508 GB, free: 3.305 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.02295, allocations: 4 kB / 0.8508 GB, free: 3.301 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.125e-05/0.023, allocations: 11.98 kB / 0.8508 GB, free: 3.289 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.02305, allocations: 19.95 kB / 0.8508 GB, free: 3.27 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.02307, allocations: 8 kB / 0.8509 GB, free: 3.262 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.09e-05/0.02311, allocations: 53.8 kB / 0.8509 GB, free: 3.207 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.02311, allocations: 4 kB / 0.8509 GB, free: 3.203 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001841/0.02329, allocations: 47.94 kB / 0.851 GB, free: 3.156 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.0003464/0.02364, allocations: 179.1 kB / 0.8511 GB, free: 3.004 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001197/0.02376, allocations: 68.7 kB / 0.8512 GB, free: 2.934 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.02377, allocations: 0 / 0.8512 GB, free: 2.934 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.101e-05/0.02382, allocations: 48.77 kB / 0.8512 GB, free: 2.883 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.02405, allocations: 63.3 kB / 0.8513 GB, free: 2.828 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004055/0.02445, allocations: 288.3 kB / 0.8516 GB, free: 2.516 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.705e-05/0.02449, allocations: 68 kB / 0.8516 GB, free: 2.43 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.269e-05/0.02454, allocations: 25.61 kB / 0.8517 GB, free: 2.406 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.0247, allocations: 117.2 kB / 0.8518 GB, free: 2.289 MB / 0.8073 GB Notification: Performance of SimCode: time 5.41e-07/0.0247, allocations: 0 / 0.8518 GB, free: 2.289 MB / 0.8073 GB Notification: Performance of Templates: time 0.005887/0.03059, allocations: 4.095 MB / 0.8558 GB, free: 14.26 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.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.350380619987845]