Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001694/0.001694, allocations: 106.2 kB / 16.45 MB, free: 6.453 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.001899/0.001899, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.509/1.509, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.171/3.171, allocations: 0.4899 GB / 0.7915 GB, free: 33.25 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") [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.001879/0.001879, allocations: 70.38 kB / 1.149 GB, free: 26.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3896, allocations: 176.1 MB / 1.321 GB, free: 2.777 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003232/0.3928, allocations: 1.77 MB / 1.323 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001761/0.3946, allocations: 0.9358 MB / 1.324 GB, free: 56 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.356e-05/0.3947, allocations: 4 kB / 1.324 GB, free: 52 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001599/0.3948, allocations: 27.72 kB / 1.324 GB, free: 24 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000409/0.3952, allocations: 119.5 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003779/0.3956, allocations: 153.5 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003092/0.3959, allocations: 247.2 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.3961, allocations: 25.67 kB / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.3962, allocations: 119.6 kB / 1.325 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01584/0.412, allocations: 1.999 MB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.678e-05/0.4121, allocations: 16 kB / 1.327 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.4123, allocations: 40 kB / 1.327 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.344e-05/0.4124, allocations: 43.81 kB / 1.327 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.4125, allocations: 87.58 kB / 1.327 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004868/0.413, allocations: 223.1 kB / 1.327 GB, free: 13.5 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.413, allocations: 0 / 1.327 GB, free: 13.5 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.723e-06/0.413, allocations: 0 / 1.327 GB, free: 13.5 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.413, allocations: 0 / 1.327 GB, free: 13.5 MB / 1.029 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.0009814/0.414, allocations: 0.5619 MB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.414, allocations: 11.98 kB / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.781e-05/0.4141, allocations: 28.8 kB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003402/0.4145, allocations: 251.5 kB / 1.328 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.4145, allocations: 4 kB / 1.328 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/0.4145, allocations: 16 kB / 1.328 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.4147, allocations: 111.4 kB / 1.328 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.4148, allocations: 0 / 1.328 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.4148, allocations: 7.938 kB / 1.328 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.4148, allocations: 11.98 kB / 1.328 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.4149, allocations: 55.81 kB / 1.328 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009344/0.4159, allocations: 0.5473 MB / 1.328 GB, free: 11.74 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.416, allocations: 85.31 kB / 1.329 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.174e-05/0.4161, allocations: 45.7 kB / 1.329 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.4161, allocations: 0 / 1.329 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003078/0.4164, allocations: 124.5 kB / 1.329 GB, free: 11.45 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/0.4164, allocations: 0 / 1.329 GB, free: 11.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0003636/0.4168, allocations: 165.5 kB / 1.329 GB, free: 11.28 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/0.4168, allocations: 81.11 kB / 1.329 GB, free: 11.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.4171, allocations: 200.3 kB / 1.329 GB, free: 10.97 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.186e-05/0.4171, allocations: 33.7 kB / 1.329 GB, free: 10.93 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.4172, allocations: 128.5 kB / 1.329 GB, free: 10.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/0.4173, allocations: 35.86 kB / 1.329 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.4174, allocations: 61.67 kB / 1.329 GB, free: 10.7 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.4175, allocations: 330.8 kB / 1.33 GB, free: 10.37 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.227e-05/0.4176, allocations: 27.98 kB / 1.33 GB, free: 10.34 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002723/0.4179, allocations: 144.1 kB / 1.33 GB, free: 10.17 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.418, allocations: 113.7 kB / 1.33 GB, free: 10.04 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.418, allocations: 0 / 1.33 GB, free: 10.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002833/0.4183, allocations: 165.3 kB / 1.33 GB, free: 9.875 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.4183, allocations: 4 kB / 1.33 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.4184, allocations: 4 kB / 1.33 GB, free: 9.867 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.4184, allocations: 4 kB / 1.33 GB, free: 9.863 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.894e-05/0.4185, allocations: 15.94 kB / 1.33 GB, free: 9.848 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.4185, allocations: 3.984 kB / 1.33 GB, free: 9.844 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000256/0.4187, allocations: 27.88 kB / 1.33 GB, free: 9.816 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.4187, allocations: 12.16 kB / 1.33 GB, free: 9.805 MB / 1.029 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.0001545/0.4189, allocations: 147.5 kB / 1.33 GB, free: 9.648 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.826e-05/0.4189, allocations: 15.91 kB / 1.33 GB, free: 9.633 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.037e-05/0.419, allocations: 21.52 kB / 1.33 GB, free: 9.609 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.419, allocations: 4 kB / 1.33 GB, free: 9.605 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.419, allocations: 0 / 1.33 GB, free: 9.605 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.419, allocations: 0 / 1.33 GB, free: 9.605 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007034/0.4197, allocations: 470.3 kB / 1.331 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.4197, allocations: 0 / 1.331 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.841e-05/0.4197, allocations: 4 kB / 1.331 GB, free: 9.086 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.4197, allocations: 0 / 1.331 GB, free: 9.086 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.4198, allocations: 15.98 kB / 1.331 GB, free: 9.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.4198, allocations: 3.938 kB / 1.331 GB, free: 9.066 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4198, allocations: 0 / 1.331 GB, free: 9.066 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002845/0.42, allocations: 236.1 kB / 1.331 GB, free: 8.816 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.219e-05/0.4201, allocations: 96.94 kB / 1.331 GB, free: 8.703 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.4201, allocations: 4 kB / 1.331 GB, free: 8.699 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.4203, allocations: 15.92 kB / 1.331 GB, free: 8.684 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.31e-05/0.4203, allocations: 23.97 kB / 1.331 GB, free: 8.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.764e-05/0.4204, allocations: 4 kB / 1.331 GB, free: 8.656 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001425/0.4205, allocations: 148.2 kB / 1.331 GB, free: 8.512 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4205, allocations: 0 / 1.331 GB, free: 8.512 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003317/0.4209, allocations: 43.94 kB / 1.331 GB, free: 8.469 MB / 1.029 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.0004032/0.4213, allocations: 168.3 kB / 1.332 GB, free: 8.316 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002474/0.4215, allocations: 95.83 kB / 1.332 GB, free: 8.223 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4215, allocations: 0 / 1.332 GB, free: 8.223 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.4216, allocations: 47.92 kB / 1.332 GB, free: 8.176 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000444/0.4221, allocations: 67.55 kB / 1.332 GB, free: 8.117 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006193/0.4227, allocations: 287.9 kB / 1.332 GB, free: 7.809 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.423, allocations: 0.7203 MB / 1.333 GB, free: 7.062 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.415e-05/0.4231, allocations: 29.47 kB / 1.333 GB, free: 7.035 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.49e-05/0.4232, allocations: 31.42 kB / 1.333 GB, free: 7.004 MB / 1.029 GB Notification: Performance of SimCode: time 4.1e-07/0.4232, allocations: 0 / 1.333 GB, free: 7.004 MB / 1.029 GB Notification: Performance of Templates: time 0.008409/0.4316, allocations: 3.675 MB / 1.336 GB, free: 3.367 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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: 9.115539661142975]