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.00195/0.00195, allocations: 77.47 kB / 19.76 MB, free: 2.027 MB / 14.72 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.002414/0.002414, allocations: 160.5 kB / 23.01 MB, free: 4.949 MB / 14.72 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.445/1.445, allocations: 177.2 MB / 203.4 MB, free: 8.938 MB / 190.1 MB " [Timeout remaining time 178] 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.829/2.829, allocations: 394.2 MB / 0.6386 GB, free: 11.89 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 13.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.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 74.08 kB / 1.009 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.801/0.8031, allocations: 181.8 MB / 1.187 GB, free: 16.17 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002587/0.8057, allocations: 1.722 MB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.8071, allocations: 0.9016 MB / 1.189 GB, free: 14.42 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.921e-05/0.8071, allocations: 9.094 kB / 1.189 GB, free: 14.41 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.8073, allocations: 30.97 kB / 1.189 GB, free: 14.39 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003099/0.8076, allocations: 118.2 kB / 1.189 GB, free: 14.33 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.8079, allocations: 152.9 kB / 1.189 GB, free: 14.26 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002744/0.8082, allocations: 242.5 kB / 1.19 GB, free: 14.16 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.8083, allocations: 22.59 kB / 1.19 GB, free: 14.14 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.8084, allocations: 120.9 kB / 1.19 GB, free: 14.09 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01306/0.8215, allocations: 1.695 MB / 1.191 GB, free: 13.63 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.772e-05/0.8215, allocations: 17.69 kB / 1.191 GB, free: 13.63 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.8216, allocations: 45.95 kB / 1.192 GB, free: 13.61 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.621e-05/0.8217, allocations: 35.75 kB / 1.192 GB, free: 13.59 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.8218, allocations: 83.17 kB / 1.192 GB, free: 13.55 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003265/0.8221, allocations: 219.4 kB / 1.192 GB, free: 13.46 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.8221, allocations: 1.516 kB / 1.192 GB, free: 13.46 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8222, allocations: 0 / 1.192 GB, free: 13.46 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.8222, allocations: 4 kB / 1.192 GB, free: 13.46 MB / 1.076 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.0006656/0.8228, allocations: 499.3 kB / 1.192 GB, free: 13.04 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.8229, allocations: 8.969 kB / 1.192 GB, free: 13.04 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.268e-05/0.8229, allocations: 21.16 kB / 1.192 GB, free: 13.03 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.8232, allocations: 187.1 kB / 1.193 GB, free: 12.86 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.8232, allocations: 7.156 kB / 1.193 GB, free: 12.86 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/0.8232, allocations: 14.62 kB / 1.193 GB, free: 12.86 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.8234, allocations: 97.86 kB / 1.193 GB, free: 12.8 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.8234, allocations: 4.641 kB / 1.193 GB, free: 12.8 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.8234, allocations: 1.703 kB / 1.193 GB, free: 12.8 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.8234, allocations: 1.594 kB / 1.193 GB, free: 12.8 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.8235, allocations: 51.64 kB / 1.193 GB, free: 12.78 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006548/0.8242, allocations: 375.6 kB / 1.193 GB, free: 12.51 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004242/0.8246, allocations: 131.3 kB / 1.193 GB, free: 12.46 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.776e-05/0.8246, allocations: 34.97 kB / 1.193 GB, free: 12.44 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.8247, allocations: 2.156 kB / 1.193 GB, free: 12.44 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.8248, allocations: 116 kB / 1.193 GB, free: 12.36 MB / 1.076 GB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.8248, allocations: 0 / 1.193 GB, free: 12.36 MB / 1.076 GB Notification: Performance of matching and sorting (n=16): time 0.0003216/0.8251, allocations: 165 kB / 1.193 GB, free: 12.29 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.8252, allocations: 67.25 kB / 1.194 GB, free: 12.21 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.8253, allocations: 198.5 kB / 1.194 GB, free: 12.08 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.8254, allocations: 34.77 kB / 1.194 GB, free: 12.04 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.48e-05/0.8254, allocations: 123.2 kB / 1.194 GB, free: 11.93 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.8255, allocations: 35.55 kB / 1.194 GB, free: 11.91 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.691e-05/0.8255, allocations: 59.02 kB / 1.194 GB, free: 11.88 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.981e-05/0.8256, allocations: 330.4 kB / 1.194 GB, free: 11.55 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.599e-05/0.8257, allocations: 30.62 kB / 1.194 GB, free: 11.55 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.8259, allocations: 239.1 kB / 1.195 GB, free: 11.32 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.826, allocations: 108.8 kB / 1.195 GB, free: 11.25 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.826, allocations: 1.188 kB / 1.195 GB, free: 11.25 MB / 1.076 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002237/0.8263, allocations: 152.1 kB / 1.195 GB, free: 11.17 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.8263, allocations: 4.844 kB / 1.195 GB, free: 11.17 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.8263, allocations: 1.594 kB / 1.195 GB, free: 11.17 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.8263, allocations: 3.156 kB / 1.195 GB, free: 11.17 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.985e-05/0.8264, allocations: 17.84 kB / 1.195 GB, free: 11.17 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.8264, allocations: 6.156 kB / 1.195 GB, free: 11.16 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.8266, allocations: 24.8 kB / 1.195 GB, free: 11.16 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.8266, allocations: 9.156 kB / 1.195 GB, free: 11.15 MB / 1.076 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.202e-05/0.8267, allocations: 138.5 kB / 1.195 GB, free: 11.02 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.8267, allocations: 21.44 kB / 1.195 GB, free: 11.01 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.138e-05/0.8267, allocations: 23.23 kB / 1.195 GB, free: 10.99 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.8268, allocations: 2.812 kB / 1.195 GB, free: 10.99 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.8268, allocations: 0 / 1.195 GB, free: 10.99 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.8268, allocations: 1.75 kB / 1.195 GB, free: 10.99 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005576/0.8273, allocations: 430.5 kB / 1.195 GB, free: 10.68 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.8273, allocations: 0 / 1.195 GB, free: 10.68 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.392e-05/0.8273, allocations: 7.812 kB / 1.195 GB, free: 10.68 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.8273, allocations: 1.734 kB / 1.195 GB, free: 10.68 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.8274, allocations: 1.688 kB / 1.195 GB, free: 10.68 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.8274, allocations: 1.125 kB / 1.195 GB, free: 10.68 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.8274, allocations: 0.5156 kB / 1.195 GB, free: 10.68 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.8275, allocations: 231.8 kB / 1.196 GB, free: 10.51 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.535e-05/0.8276, allocations: 21.94 kB / 1.196 GB, free: 10.5 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.8276, allocations: 5.969 kB / 1.196 GB, free: 10.49 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.8277, allocations: 20.12 kB / 1.196 GB, free: 10.48 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.254e-05/0.8278, allocations: 24.56 kB / 1.196 GB, free: 10.48 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/0.8278, allocations: 6.688 kB / 1.196 GB, free: 10.48 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001088/0.8279, allocations: 150.6 kB / 1.196 GB, free: 10.38 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8279, allocations: 0 / 1.196 GB, free: 10.38 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003065/0.8282, allocations: 45.09 kB / 1.196 GB, free: 10.37 MB / 1.076 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.0003412/0.8286, allocations: 172.9 kB / 1.196 GB, free: 10.25 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002164/0.8288, allocations: 96.59 kB / 1.196 GB, free: 10.22 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.8288, allocations: 4.062 kB / 1.196 GB, free: 10.21 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.666e-05/0.8289, allocations: 50.58 kB / 1.196 GB, free: 10.2 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/0.8293, allocations: 50.33 kB / 1.196 GB, free: 10.19 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005556/0.8299, allocations: 318.6 kB / 1.197 GB, free: 9.977 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.111e-05/0.8299, allocations: 112.9 kB / 1.197 GB, free: 9.895 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.441e-05/0.83, allocations: 30.03 kB / 1.197 GB, free: 9.887 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.552e-05/0.8301, allocations: 27.64 kB / 1.197 GB, free: 9.875 MB / 1.076 GB Notification: Performance of SimCode: time 4.41e-07/0.8301, allocations: 0 / 1.197 GB, free: 9.875 MB / 1.076 GB Notification: Performance of Templates: time 0.0088/0.8389, allocations: 3.992 MB / 1.201 GB, free: 9.387 MB / 1.076 GB " [Timeout remaining time 299] 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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.710485562914982]