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.0009994/0.0009994, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.0009581/0.0009581, allocations: 169 kB / 23.02 MB, free: 1.547 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 0.9957/0.9957, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.127/2.127, allocations: 429.5 MB / 0.6732 GB, free: 4.027 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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 1.502e-06/1.502e-06, allocations: 0 / 0.8781 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.355e-05/2.506e-05, allocations: 2.812 kB / 0.8781 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003171/0.003196, allocations: 1.802 MB / 0.8799 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001637/0.004834, allocations: 0.9391 MB / 0.8808 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.383e-05/0.004927, allocations: 0 / 0.8808 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002209/0.005148, allocations: 31.72 kB / 0.8808 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004056/0.005554, allocations: 120.4 kB / 0.881 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003651/0.005919, allocations: 156.3 kB / 0.8811 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005672/0.006486, allocations: 243.3 kB / 0.8813 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.006636, allocations: 26.73 kB / 0.8814 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002046/0.006841, allocations: 155.7 kB / 0.8815 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01246/0.0193, allocations: 3.198 MB / 0.8846 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.196e-05/0.01936, allocations: 20 kB / 0.8847 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.01948, allocations: 47.84 kB / 0.8847 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.079e-05/0.01955, allocations: 43.83 kB / 0.8847 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.01966, allocations: 63.81 kB / 0.8848 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003643/0.02003, allocations: 191.4 kB / 0.885 GB, free: 484 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.02003, allocations: 8 kB / 0.885 GB, free: 476 kB / 0.8386 GB Notification: Performance of FrontEnd: time 8.12e-07/0.02003, allocations: 0 / 0.885 GB, free: 476 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.02004, allocations: 0 / 0.885 GB, free: 476 kB / 0.8386 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.000791/0.02083, allocations: 0.581 MB / 0.8856 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.02087, allocations: 8.031 kB / 0.8856 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.625e-05/0.02096, allocations: 32.77 kB / 0.8856 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.02123, allocations: 197.9 kB / 0.8858 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.02125, allocations: 12.38 kB / 0.8858 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.471e-05/0.0213, allocations: 19.94 kB / 0.8858 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.02149, allocations: 99.42 kB / 0.8859 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.0215, allocations: 0 / 0.8859 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.02152, allocations: 4 kB / 0.8859 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.02152, allocations: 4 kB / 0.8859 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.802e-05/0.02162, allocations: 31.91 kB / 0.886 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00077/0.02239, allocations: 0.5569 MB / 0.8865 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.02257, allocations: 90.11 kB / 0.8866 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.748e-05/0.02262, allocations: 35.61 kB / 0.8866 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.02265, allocations: 3.938 kB / 0.8866 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00018/0.02283, allocations: 116.4 kB / 0.8867 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.302e-06/0.02283, allocations: 4 kB / 0.8867 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0003277/0.02315, allocations: 149.4 kB / 0.8869 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.02321, allocations: 85.09 kB / 0.887 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.02342, allocations: 255.1 kB / 0.8872 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/0.02345, allocations: 33.7 kB / 0.8872 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.02357, allocations: 171.3 kB / 0.8874 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.0236, allocations: 31.73 kB / 0.8874 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-05/0.0237, allocations: 63.34 kB / 0.8875 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.02385, allocations: 0.5001 MB / 0.888 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.415e-05/0.02391, allocations: 23.92 kB / 0.888 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/0.02416, allocations: 243.3 kB / 0.8882 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.0243, allocations: 125.1 kB / 0.8884 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.0243, allocations: 3.938 kB / 0.8884 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002435/0.02454, allocations: 161.3 kB / 0.8885 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.02456, allocations: 4 kB / 0.8885 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.02457, allocations: 4 kB / 0.8885 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.02459, allocations: 8.156 kB / 0.8885 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.02469, allocations: 27.92 kB / 0.8886 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.0247, allocations: 4 kB / 0.8886 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.02484, allocations: 23.88 kB / 0.8886 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.02486, allocations: 12 kB / 0.8886 GB, free: 12.42 MB / 0.8542 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 0.000112/0.02497, allocations: 170.5 kB / 0.8888 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.772e-05/0.02501, allocations: 27.84 kB / 0.8888 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.153e-05/0.02505, allocations: 21.45 kB / 0.8888 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.02505, allocations: 0 / 0.8888 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.02506, allocations: 8 kB / 0.8888 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.02506, allocations: 0 / 0.8888 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004881/0.02555, allocations: 433.2 kB / 0.8892 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.02555, allocations: 0 / 0.8892 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.202e-05/0.02557, allocations: 4 kB / 0.8892 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.02558, allocations: 4 kB / 0.8892 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.02559, allocations: 0 / 0.8892 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.02559, allocations: 0 / 0.8892 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.02559, allocations: 0 / 0.8892 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.02584, allocations: 291.3 kB / 0.8895 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.629e-05/0.02586, allocations: 23.84 kB / 0.8895 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.02588, allocations: 0 / 0.8895 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.02598, allocations: 15.98 kB / 0.8895 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.169e-05/0.02606, allocations: 23.95 kB / 0.8896 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.02608, allocations: 4 kB / 0.8896 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001159/0.02619, allocations: 171.1 kB / 0.8897 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.1e-08/0.02619, allocations: 0 / 0.8897 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003703/0.02656, allocations: 44 kB / 0.8898 GB, free: 11.13 MB / 0.8542 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.0004024/0.02697, allocations: 193.5 kB / 0.89 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002128/0.02718, allocations: 87.58 kB / 0.89 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.02718, allocations: 0 / 0.89 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.388e-05/0.02727, allocations: 43.61 kB / 0.8901 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.02771, allocations: 65.7 kB / 0.8902 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005562/0.02827, allocations: 294.6 kB / 0.8904 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.119e-05/0.02834, allocations: 76.36 kB / 0.8905 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.54e-05/0.02842, allocations: 21.64 kB / 0.8905 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.377e-05/0.02848, allocations: 24.48 kB / 0.8906 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of SimCode: time 7.22e-07/0.02848, allocations: 0 / 0.8906 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.008832/0.03731, allocations: 3.957 MB / 0.8944 GB, free: 6.414 MB / 0.8542 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 -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.554060120135546]