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.001738/0.001738, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002178/0.002178, allocations: 211.5 kB / 22.24 MB, free: 5.242 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.594/1.594, allocations: 230.6 MB / 256 MB, free: 7.812 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.292/3.292, allocations: 0.4892 GB / 0.7943 GB, free: 35.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.002114/0.002114, allocations: 67.75 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4253/0.4274, allocations: 176.1 MB / 1.325 GB, free: 2.426 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003591/0.431, allocations: 1.739 MB / 1.327 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001835/0.4328, allocations: 0.897 MB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.922e-05/0.4329, allocations: 3.938 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002182/0.4331, allocations: 31.72 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004189/0.4336, allocations: 127.4 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003849/0.4339, allocations: 151.7 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003319/0.4343, allocations: 247.2 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.4344, allocations: 34 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.4346, allocations: 111.7 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01589/0.4505, allocations: 1.99 MB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.208e-05/0.4506, allocations: 16 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001533/0.4507, allocations: 36 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.266e-05/0.4508, allocations: 47.77 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.451, allocations: 75.69 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000456/0.4514, allocations: 215.1 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.4514, allocations: 7.938 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of FrontEnd: time 4.769e-06/0.4514, allocations: 7.984 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.4514, allocations: 0 / 1.331 GB, free: 13.22 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.0009492/0.4524, allocations: 488.7 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.4524, allocations: 12.03 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.773e-05/0.4525, allocations: 42.75 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.24e-05/0.4526, allocations: 24.78 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003626/0.4529, allocations: 185.5 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.453, allocations: 16 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.651e-05/0.453, allocations: 15.94 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002687/0.4533, allocations: 115.4 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.4533, allocations: 3.938 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.4533, allocations: 4 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.4533, allocations: 4 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.4534, allocations: 51.91 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009848/0.4544, allocations: 495.7 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.4546, allocations: 89.12 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.846e-05/0.4547, allocations: 29.78 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.4547, allocations: 11.92 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003418/0.4551, allocations: 117.2 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.4551, allocations: 0 / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0003971/0.4555, allocations: 167 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.296e-05/0.4555, allocations: 85.23 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.4558, allocations: 207.1 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.784e-05/0.4558, allocations: 33.7 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.4559, allocations: 124.5 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.795e-05/0.456, allocations: 31.73 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.4561, allocations: 61.67 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.4562, allocations: 326.8 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.466e-05/0.4563, allocations: 31.98 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003421/0.4567, allocations: 253.4 kB / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.4568, allocations: 113.8 kB / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.4568, allocations: 4 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000269/0.4571, allocations: 161.4 kB / 1.334 GB, free: 9.664 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.4571, allocations: 4 kB / 1.334 GB, free: 9.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.4571, allocations: 7.984 kB / 1.334 GB, free: 9.652 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.4571, allocations: 3.984 kB / 1.334 GB, free: 9.648 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.138e-05/0.4572, allocations: 24.09 kB / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.4572, allocations: 11.94 kB / 1.334 GB, free: 9.613 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.4575, allocations: 23.88 kB / 1.334 GB, free: 9.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.4575, allocations: 15.98 kB / 1.334 GB, free: 9.574 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.0001444/0.4576, allocations: 131.5 kB / 1.334 GB, free: 9.434 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/0.4577, allocations: 19.91 kB / 1.334 GB, free: 9.414 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.155e-05/0.4577, allocations: 21.45 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.4577, allocations: 4 kB / 1.334 GB, free: 9.383 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4577, allocations: 0 / 1.334 GB, free: 9.383 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4577, allocations: 4 kB / 1.334 GB, free: 9.379 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006312/0.4584, allocations: 421.4 kB / 1.334 GB, free: 8.918 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.4584, allocations: 0 / 1.334 GB, free: 8.918 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.68e-05/0.4584, allocations: 7.938 kB / 1.334 GB, free: 8.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.4584, allocations: 0 / 1.334 GB, free: 8.91 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.4584, allocations: 15.88 kB / 1.334 GB, free: 8.895 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.4584, allocations: 0 / 1.334 GB, free: 8.895 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.4584, allocations: 0 / 1.334 GB, free: 8.895 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002621/0.4587, allocations: 228.2 kB / 1.335 GB, free: 8.652 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.23e-05/0.4587, allocations: 23.91 kB / 1.335 GB, free: 8.629 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/0.4587, allocations: 7.922 kB / 1.335 GB, free: 8.621 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.4589, allocations: 15.98 kB / 1.335 GB, free: 8.605 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.442e-05/0.4589, allocations: 23.91 kB / 1.335 GB, free: 8.582 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/0.459, allocations: 4 kB / 1.335 GB, free: 8.578 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001354/0.4591, allocations: 144.5 kB / 1.335 GB, free: 8.438 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4591, allocations: 0 / 1.335 GB, free: 8.438 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003166/0.4594, allocations: 43.94 kB / 1.335 GB, free: 8.395 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.001009/0.4604, allocations: 0.8494 MB / 1.336 GB, free: 7.547 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002668/0.4607, allocations: 99.91 kB / 1.336 GB, free: 7.449 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.4607, allocations: 0 / 1.336 GB, free: 7.449 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.4608, allocations: 51.84 kB / 1.336 GB, free: 7.398 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/0.4612, allocations: 51.09 kB / 1.336 GB, free: 7.352 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002491/0.4637, allocations: 1.924 MB / 1.338 GB, free: 5.305 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.4638, allocations: 108.1 kB / 1.338 GB, free: 5.176 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.65e-05/0.4639, allocations: 25.61 kB / 1.338 GB, free: 5.148 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.464, allocations: 59.42 kB / 1.338 GB, free: 5.094 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.464, allocations: 0 / 1.338 GB, free: 5.094 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03624/0.5003, allocations: 6.433 MB / 1.344 GB, free: 14.87 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.92, allocations: 2.344 kB / 1.344 GB, free: 14.87 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: 19.231513457838446]