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.001483/0.001483, allocations: 84.73 kB / 19.44 MB, free: 348 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.001627/0.001627, allocations: 161.7 kB / 22.75 MB, free: 1.676 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.462/1.462, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 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 3.167/3.167, allocations: 429.6 MB / 0.673 GB, free: 3.875 MB / 0.6355 GB " [Timeout remaining time 176] 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 1.673e-06/1.673e-06, allocations: 0 / 0.8776 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.274e-05/3.441e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.005305/0.00534, allocations: 1.743 MB / 0.8793 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002786/0.008126, allocations: 0.9031 MB / 0.8801 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.00827, allocations: 5 kB / 0.8802 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002474/0.008518, allocations: 23.77 kB / 0.8802 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0006429/0.00916, allocations: 124.5 kB / 0.8803 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000628/0.009788, allocations: 155.6 kB / 0.8804 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005648/0.01035, allocations: 244.3 kB / 0.8807 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.01052, allocations: 29.72 kB / 0.8807 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004237/0.01094, allocations: 147.7 kB / 0.8808 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0291/0.04004, allocations: 3.285 MB / 0.8841 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.04017, allocations: 20 kB / 0.8841 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001861/0.04035, allocations: 37.59 kB / 0.8841 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.04046, allocations: 47.81 kB / 0.8842 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001792/0.04064, allocations: 55.88 kB / 0.8842 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0006587/0.0413, allocations: 243.2 kB / 0.8844 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.04131, allocations: 1.188 kB / 0.8844 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.415e-06/0.04131, allocations: 0 / 0.8844 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.04132, allocations: 0 / 0.8844 GB, free: 0.6484 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.001266/0.04258, allocations: 492.7 kB / 0.8849 GB, free: 128 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.04263, allocations: 12.03 kB / 0.8849 GB, free: 116 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/0.0428, allocations: 32.73 kB / 0.885 GB, free: 84 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004666/0.04326, allocations: 186.3 kB / 0.8851 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/0.04329, allocations: 8.375 kB / 0.8851 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.64e-05/0.04335, allocations: 15.94 kB / 0.8852 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/0.04362, allocations: 93.64 kB / 0.8852 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.04363, allocations: 0 / 0.8852 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.04366, allocations: 11.94 kB / 0.8853 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.04367, allocations: 4 kB / 0.8853 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.04384, allocations: 51.91 kB / 0.8853 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.04496, allocations: 368.2 kB / 0.8857 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006373/0.0456, allocations: 134.7 kB / 0.8858 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.0457, allocations: 28.86 kB / 0.8858 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.04572, allocations: 4 kB / 0.8858 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002884/0.04601, allocations: 121.5 kB / 0.8859 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.744e-06/0.04601, allocations: 0 / 0.8859 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0005644/0.04658, allocations: 169.6 kB / 0.8861 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.542e-05/0.04664, allocations: 59.34 kB / 0.8862 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003301/0.04697, allocations: 196.3 kB / 0.8863 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.548e-05/0.04703, allocations: 37.7 kB / 0.8864 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.04717, allocations: 120.6 kB / 0.8865 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.933e-05/0.04723, allocations: 39.72 kB / 0.8865 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.04738, allocations: 61.67 kB / 0.8866 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002279/0.04761, allocations: 326.8 kB / 0.8869 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.04772, allocations: 31.92 kB / 0.8869 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000471/0.04819, allocations: 237.7 kB / 0.8872 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000227/0.04842, allocations: 96.23 kB / 0.8872 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.04842, allocations: 4 kB / 0.8873 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004423/0.04886, allocations: 176.7 kB / 0.8874 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.04888, allocations: 8 kB / 0.8874 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.04889, allocations: 0 / 0.8874 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/0.04891, allocations: 4 kB / 0.8874 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.94e-05/0.04901, allocations: 11.94 kB / 0.8874 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.04902, allocations: 4 kB / 0.8874 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003097/0.04933, allocations: 31.84 kB / 0.8875 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.04935, allocations: 8.125 kB / 0.8875 GB, free: 13.28 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 0.0002154/0.04956, allocations: 135.8 kB / 0.8876 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.082e-05/0.04963, allocations: 23.8 kB / 0.8876 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.85e-05/0.04968, allocations: 21.8 kB / 0.8877 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.04969, allocations: 7.938 kB / 0.8877 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.04969, allocations: 0 / 0.8877 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.0497, allocations: 0 / 0.8877 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009983/0.0507, allocations: 428.4 kB / 0.8881 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.0507, allocations: 4 kB / 0.8881 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.244e-05/0.05073, allocations: 4 kB / 0.8881 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.05073, allocations: 0 / 0.8881 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.05075, allocations: 8 kB / 0.8881 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.05076, allocations: 0 / 0.8881 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.05076, allocations: 0 / 0.8881 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007386/0.0515, allocations: 243.2 kB / 0.8883 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.705e-05/0.05154, allocations: 19.89 kB / 0.8883 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.497e-05/0.05158, allocations: 4 kB / 0.8883 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.05178, allocations: 11.98 kB / 0.8884 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.05189, allocations: 23.97 kB / 0.8884 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.662e-05/0.05192, allocations: 11.98 kB / 0.8884 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000209/0.05213, allocations: 144.2 kB / 0.8885 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.05213, allocations: 0 / 0.8885 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005209/0.05265, allocations: 43.94 kB / 0.8886 GB, free: 12.11 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.000554/0.05321, allocations: 170.7 kB / 0.8887 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003311/0.05354, allocations: 98.52 kB / 0.8888 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.05354, allocations: 3.938 kB / 0.8888 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.05368, allocations: 48.17 kB / 0.8889 GB, free: 11.81 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006378/0.05432, allocations: 59.81 kB / 0.8889 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007996/0.05512, allocations: 301.2 kB / 0.8892 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/0.05529, allocations: 120.2 kB / 0.8893 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001156/0.0554, allocations: 21.58 kB / 0.8894 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.378e-05/0.0555, allocations: 24.48 kB / 0.8894 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of SimCode: time 7.11e-07/0.0555, allocations: 4 kB / 0.8894 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of Templates: time 0.01232/0.06782, allocations: 4.003 MB / 0.8933 GB, free: 7.32 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.16801802709233]