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.001434/0.001434, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.001433/0.001433, allocations: 173 kB / 23.49 MB, free: 1.055 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.9585/0.9585, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.078/2.078, allocations: 429.5 MB / 0.6736 GB, free: 4 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.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 2.124e-06/2.124e-06, allocations: 0 / 0.8782 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.866e-05/3.079e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003569/0.0036, allocations: 1.802 MB / 0.8799 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001745/0.005345, allocations: 0.9255 MB / 0.8808 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.005467, allocations: 7.938 kB / 0.8808 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001954/0.005662, allocations: 19.8 kB / 0.8809 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000419/0.006081, allocations: 123.3 kB / 0.881 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004036/0.006485, allocations: 155.6 kB / 0.8811 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003524/0.006837, allocations: 239.3 kB / 0.8813 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.006988, allocations: 34.44 kB / 0.8814 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002356/0.007224, allocations: 147.7 kB / 0.8815 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01173/0.01895, allocations: 3.281 MB / 0.8847 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 7.122e-05/0.01902, allocations: 19.94 kB / 0.8847 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.01913, allocations: 39.94 kB / 0.8848 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.9e-05/0.01919, allocations: 39.83 kB / 0.8848 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.983e-05/0.01928, allocations: 71.84 kB / 0.8849 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003128/0.01959, allocations: 191.3 kB / 0.8851 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.01959, allocations: 4 kB / 0.8851 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.453e-06/0.0196, allocations: 0 / 0.8851 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.0196, allocations: 0 / 0.8851 GB, free: 0.7422 MB / 0.8386 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.0006571/0.02026, allocations: 0.5733 MB / 0.8856 GB, free: 124 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.0203, allocations: 16.02 kB / 0.8857 GB, free: 108 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.576e-05/0.02037, allocations: 28.73 kB / 0.8857 GB, free: 80 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.02062, allocations: 201.9 kB / 0.8859 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.02064, allocations: 12.38 kB / 0.8859 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.01e-05/0.02067, allocations: 15.94 kB / 0.8859 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.0208, allocations: 77.64 kB / 0.886 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.02081, allocations: 0 / 0.886 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.02082, allocations: 0 / 0.886 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.02083, allocations: 7.938 kB / 0.886 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.362e-05/0.02089, allocations: 38.66 kB / 0.886 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005426/0.02144, allocations: 431.4 kB / 0.8864 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/0.02168, allocations: 103.2 kB / 0.8865 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.022e-05/0.02172, allocations: 27.67 kB / 0.8866 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.02173, allocations: 4 kB / 0.8866 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001348/0.02187, allocations: 99.52 kB / 0.8867 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 2.084e-06/0.02187, allocations: 0 / 0.8867 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0002615/0.02213, allocations: 149.5 kB / 0.8868 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.02218, allocations: 67.33 kB / 0.8869 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.02233, allocations: 239.7 kB / 0.8871 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.02236, allocations: 33.7 kB / 0.8871 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.828e-05/0.02244, allocations: 171.3 kB / 0.8873 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.02246, allocations: 35.72 kB / 0.8873 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.707e-05/0.02253, allocations: 63.34 kB / 0.8874 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.02265, allocations: 0.5001 MB / 0.8879 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.096e-05/0.02269, allocations: 23.92 kB / 0.8879 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.02289, allocations: 227.9 kB / 0.8881 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.02299, allocations: 102.4 kB / 0.8882 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.02299, allocations: 0 / 0.8882 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001677/0.02316, allocations: 152.5 kB / 0.8883 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.02317, allocations: 4 kB / 0.8884 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.02318, allocations: 4 kB / 0.8884 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.02319, allocations: 0 / 0.8884 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.93e-05/0.02325, allocations: 28.05 kB / 0.8884 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.02326, allocations: 4 kB / 0.8884 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.99e-05/0.02336, allocations: 27.88 kB / 0.8884 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.02336, allocations: 11.94 kB / 0.8884 GB, free: 13.02 MB / 0.8542 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.455e-05/0.02346, allocations: 166.6 kB / 0.8886 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.02349, allocations: 31.83 kB / 0.8886 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.296e-05/0.02352, allocations: 21.84 kB / 0.8886 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.02352, allocations: 7.938 kB / 0.8886 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.02353, allocations: 0 / 0.8886 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.02353, allocations: 4 kB / 0.8886 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004061/0.02394, allocations: 467.9 kB / 0.8891 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.02394, allocations: 0 / 0.8891 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.493e-05/0.02396, allocations: 3.984 kB / 0.8891 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.02396, allocations: 4 kB / 0.8891 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.02397, allocations: 0 / 0.8891 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.02397, allocations: 0 / 0.8891 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.02397, allocations: 0 / 0.8891 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.02414, allocations: 287.6 kB / 0.8894 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.639e-05/0.02416, allocations: 15.91 kB / 0.8894 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.02417, allocations: 4 kB / 0.8894 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.232e-05/0.02423, allocations: 15.98 kB / 0.8894 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.888e-05/0.02429, allocations: 19.95 kB / 0.8894 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/0.02432, allocations: 8 kB / 0.8894 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.633e-05/0.0244, allocations: 176.1 kB / 0.8896 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.0244, allocations: 0 / 0.8896 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002253/0.02463, allocations: 43.94 kB / 0.8896 GB, free: 11.7 MB / 0.8542 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.0003231/0.02495, allocations: 173.2 kB / 0.8898 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001978/0.02515, allocations: 98.7 kB / 0.8899 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.02515, allocations: 3.938 kB / 0.8899 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.795e-05/0.02523, allocations: 51.66 kB / 0.89 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.02556, allocations: 69.81 kB / 0.89 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004426/0.026, allocations: 286.9 kB / 0.8903 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.692e-05/0.02605, allocations: 71.98 kB / 0.8904 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.807e-05/0.02612, allocations: 29.83 kB / 0.8904 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.007e-05/0.02617, allocations: 24.48 kB / 0.8904 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of SimCode: time 8.32e-07/0.02617, allocations: 0 / 0.8904 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of Templates: time 0.006118/0.03229, allocations: 4.009 MB / 0.8943 GB, free: 6.922 MB / 0.8542 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 -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.457481950055808]