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.001281/0.001281, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001526/0.001526, allocations: 218 kB / 22.26 MB, free: 5.121 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.592/1.592, allocations: 230.6 MB / 256 MB, free: 7.973 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.45/3.45, allocations: 0.49 GB / 0.7951 GB, free: 33.52 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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) [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.0021/0.0021, allocations: 67.53 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.423/0.4251, allocations: 176.1 MB / 1.326 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003242/0.4284, allocations: 1.786 MB / 1.328 GB, free: 152 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001692/0.4301, allocations: 0.9591 MB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.825e-05/0.4301, allocations: 4 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001977/0.4303, allocations: 27.67 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003612/0.4307, allocations: 123.4 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003726/0.4311, allocations: 155.7 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003569/0.4314, allocations: 239.4 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.4316, allocations: 38 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.4318, allocations: 123.6 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01574/0.4475, allocations: 1.982 MB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.4476, allocations: 16 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/0.4478, allocations: 43.97 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.4479, allocations: 39.84 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001755/0.4481, allocations: 95.5 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006053/0.4487, allocations: 219.1 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.4487, allocations: 0 / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.282e-06/0.4487, allocations: 0 / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.639e-05/0.4487, allocations: 0 / 1.332 GB, free: 12.62 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.00102/0.4497, allocations: 496.7 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.4498, allocations: 11.97 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.905e-05/0.4498, allocations: 46.73 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.617e-05/0.4499, allocations: 24.8 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.4503, allocations: 185.6 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.4503, allocations: 8 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.64e-05/0.4504, allocations: 15.98 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/0.4506, allocations: 128.7 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.4506, allocations: 0 / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.4506, allocations: 4 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.4507, allocations: 4 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.4508, allocations: 51.91 kB / 1.333 GB, free: 11.58 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.4518, allocations: 0.5152 MB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.452, allocations: 93.25 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.904e-05/0.4521, allocations: 33.78 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.4521, allocations: 7.938 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003892/0.4525, allocations: 128.5 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.302e-06/0.4525, allocations: 3.938 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0004213/0.4529, allocations: 161.5 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.914e-05/0.453, allocations: 85.05 kB / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.4533, allocations: 207.2 kB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.361e-05/0.4533, allocations: 33.7 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.4535, allocations: 120.5 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.256e-05/0.4535, allocations: 35.73 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.4536, allocations: 61.66 kB / 1.334 GB, free: 9.977 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.4538, allocations: 330.8 kB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.125e-05/0.4538, allocations: 27.98 kB / 1.334 GB, free: 9.617 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002646/0.4541, allocations: 141.3 kB / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.4543, allocations: 118.5 kB / 1.335 GB, free: 9.312 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.677e-06/0.4543, allocations: 4 kB / 1.335 GB, free: 9.309 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002807/0.4546, allocations: 153.4 kB / 1.335 GB, free: 9.152 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.4546, allocations: 7.984 kB / 1.335 GB, free: 9.145 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.4546, allocations: 4 kB / 1.335 GB, free: 9.141 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.4546, allocations: 0 / 1.335 GB, free: 9.141 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.285e-05/0.4547, allocations: 16.09 kB / 1.335 GB, free: 9.125 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.4547, allocations: 8 kB / 1.335 GB, free: 9.117 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.4549, allocations: 31.86 kB / 1.335 GB, free: 9.086 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.455, allocations: 12 kB / 1.335 GB, free: 9.074 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.0001579/0.4551, allocations: 135.5 kB / 1.335 GB, free: 8.934 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.942e-05/0.4552, allocations: 15.91 kB / 1.335 GB, free: 8.918 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.829e-05/0.4552, allocations: 25.39 kB / 1.335 GB, free: 8.887 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.4552, allocations: 4 kB / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.4552, allocations: 4 kB / 1.335 GB, free: 8.879 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.4552, allocations: 96 / 1.335 GB, free: 8.879 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006386/0.4559, allocations: 441.3 kB / 1.335 GB, free: 8.398 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.4559, allocations: 0 / 1.335 GB, free: 8.398 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.104e-05/0.4559, allocations: 8 kB / 1.335 GB, free: 8.391 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.4559, allocations: 0 / 1.335 GB, free: 8.391 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.4559, allocations: 3.938 kB / 1.335 GB, free: 8.387 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.4559, allocations: 4 kB / 1.335 GB, free: 8.383 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.4559, allocations: 4 kB / 1.335 GB, free: 8.379 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003036/0.4562, allocations: 240.1 kB / 1.336 GB, free: 8.125 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.381e-05/0.4563, allocations: 11.91 kB / 1.336 GB, free: 8.113 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/0.4563, allocations: 11.94 kB / 1.336 GB, free: 8.102 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.4564, allocations: 11.97 kB / 1.336 GB, free: 8.09 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.503e-05/0.4565, allocations: 19.97 kB / 1.336 GB, free: 8.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.76e-05/0.4565, allocations: 12 kB / 1.336 GB, free: 8.059 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001412/0.4567, allocations: 140.5 kB / 1.336 GB, free: 7.922 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4567, allocations: 0 / 1.336 GB, free: 7.922 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003287/0.457, allocations: 51.88 kB / 1.336 GB, free: 7.871 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.000919/0.4579, allocations: 0.8301 MB / 1.337 GB, free: 7.035 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002858/0.4582, allocations: 111.3 kB / 1.337 GB, free: 6.93 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4582, allocations: 0 / 1.337 GB, free: 6.93 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.4583, allocations: 51.91 kB / 1.337 GB, free: 6.879 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004274/0.4588, allocations: 46.86 kB / 1.337 GB, free: 6.836 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/0.4613, allocations: 1.932 MB / 1.339 GB, free: 4.781 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004672/0.4617, allocations: 0.7164 MB / 1.339 GB, free: 4.035 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001212/0.4618, allocations: 25.62 kB / 1.339 GB, free: 4.012 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.462, allocations: 55.42 kB / 1.34 GB, free: 3.957 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.462, allocations: 0 / 1.34 GB, free: 3.957 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04405/0.506, allocations: 5.76 MB / 1.345 GB, free: 14.38 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.76, allocations: 8.047 kB / 1.345 GB, free: 14.37 MB / 1.045 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 18.968099132180214]