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.001494/0.001494, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001883/0.001883, allocations: 220.7 kB / 22.25 MB, free: 5.254 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 / 256 MB, free: 7.777 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.258/3.258, allocations: 0.49 GB / 0.7951 GB, free: 35.53 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.002039/0.002039, allocations: 64.59 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4336/0.4356, allocations: 176.1 MB / 1.326 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003765/0.4394, allocations: 1.733 MB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001877/0.4413, allocations: 0.9086 MB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.4414, allocations: 0 / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002578/0.4416, allocations: 31.72 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004745/0.4421, allocations: 123.4 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00046/0.4426, allocations: 158.4 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003805/0.4429, allocations: 247.3 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.4431, allocations: 34.02 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.4433, allocations: 115.7 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.016/0.4593, allocations: 1.997 MB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.698e-05/0.4594, allocations: 19.98 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.4595, allocations: 39.98 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.467e-05/0.4596, allocations: 35.91 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.4598, allocations: 79.62 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004568/0.4602, allocations: 223.1 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.4602, allocations: 0 / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.432e-06/0.4602, allocations: 4 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.4602, allocations: 0 / 1.331 GB, free: 12.27 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.001011/0.4612, allocations: 490.1 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.4613, allocations: 12.03 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.226e-05/0.4614, allocations: 42.73 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.665e-05/0.4614, allocations: 24.8 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003358/0.4618, allocations: 193.5 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.4618, allocations: 12 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.218e-05/0.4618, allocations: 11.98 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.4621, allocations: 111.4 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.4621, allocations: 4 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.4621, allocations: 8 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.936e-06/0.4621, allocations: 3.938 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.4622, allocations: 55.91 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009476/0.4632, allocations: 495.6 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.4634, allocations: 89.14 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.45e-05/0.4635, allocations: 41.89 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.4635, allocations: 7.938 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003732/0.4639, allocations: 117.1 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.4639, allocations: 0 / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0004064/0.4643, allocations: 168 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.541e-05/0.4643, allocations: 81.11 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002463/0.4646, allocations: 207.1 kB / 1.334 GB, free: 9.926 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.224e-05/0.4646, allocations: 33.7 kB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.4648, allocations: 120.5 kB / 1.334 GB, free: 9.766 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.113e-05/0.4648, allocations: 39.84 kB / 1.334 GB, free: 9.727 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.4649, allocations: 57.69 kB / 1.334 GB, free: 9.664 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.4651, allocations: 330.8 kB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.907e-05/0.4652, allocations: 31.92 kB / 1.334 GB, free: 9.301 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003539/0.4655, allocations: 253.6 kB / 1.334 GB, free: 8.996 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.4657, allocations: 102 kB / 1.334 GB, free: 8.875 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.4657, allocations: 0 / 1.334 GB, free: 8.875 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002847/0.466, allocations: 173.2 kB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.466, allocations: 4 kB / 1.335 GB, free: 8.699 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.466, allocations: 4 kB / 1.335 GB, free: 8.695 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.466, allocations: 0 / 1.335 GB, free: 8.695 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.4661, allocations: 23.92 kB / 1.335 GB, free: 8.672 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.4661, allocations: 4 kB / 1.335 GB, free: 8.668 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/0.4664, allocations: 23.88 kB / 1.335 GB, free: 8.645 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.4664, allocations: 12.25 kB / 1.335 GB, free: 8.633 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.0001646/0.4666, allocations: 155.4 kB / 1.335 GB, free: 8.469 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.4666, allocations: 15.91 kB / 1.335 GB, free: 8.453 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.131e-05/0.4667, allocations: 17.47 kB / 1.335 GB, free: 8.43 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.4667, allocations: 4 kB / 1.335 GB, free: 8.426 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.4667, allocations: 0 / 1.335 GB, free: 8.426 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.286e-05/0.4667, allocations: 3.984 kB / 1.335 GB, free: 8.422 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007137/0.4674, allocations: 417.4 kB / 1.335 GB, free: 7.965 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4674, allocations: 0 / 1.335 GB, free: 7.965 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.792e-05/0.4674, allocations: 11.98 kB / 1.335 GB, free: 7.953 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.4674, allocations: 0 / 1.335 GB, free: 7.953 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.4675, allocations: 11.94 kB / 1.335 GB, free: 7.941 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.4675, allocations: 0 / 1.335 GB, free: 7.941 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4675, allocations: 0 / 1.335 GB, free: 7.941 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002864/0.4677, allocations: 237.9 kB / 1.335 GB, free: 7.691 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.291e-05/0.4678, allocations: 19.84 kB / 1.336 GB, free: 7.672 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/0.4678, allocations: 7.938 kB / 1.336 GB, free: 7.664 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.4679, allocations: 15.98 kB / 1.336 GB, free: 7.648 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.269e-05/0.468, allocations: 19.97 kB / 1.336 GB, free: 7.629 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.4681, allocations: 11.98 kB / 1.336 GB, free: 7.617 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001646/0.4682, allocations: 144.5 kB / 1.336 GB, free: 7.477 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4682, allocations: 0 / 1.336 GB, free: 7.477 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003355/0.4686, allocations: 43.94 kB / 1.336 GB, free: 7.434 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.001053/0.4696, allocations: 0.8503 MB / 1.337 GB, free: 6.582 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002697/0.4699, allocations: 95.91 kB / 1.337 GB, free: 6.488 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4699, allocations: 3.938 kB / 1.337 GB, free: 6.484 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.695e-05/0.47, allocations: 44.17 kB / 1.337 GB, free: 6.445 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004605/0.4704, allocations: 59.81 kB / 1.337 GB, free: 6.391 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002601/0.473, allocations: 1.922 MB / 1.339 GB, free: 4.344 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/0.4732, allocations: 112.1 kB / 1.339 GB, free: 4.211 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001009/0.4733, allocations: 17.64 kB / 1.339 GB, free: 4.191 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.4734, allocations: 59.41 kB / 1.339 GB, free: 4.137 MB / 1.029 GB Notification: Performance of SimCode: time 1.233e-06/0.4734, allocations: 4 kB / 1.339 GB, free: 4.133 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03863/0.512, allocations: 6.44 MB / 1.345 GB, free: 13.9 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.92, allocations: 10.12 kB / 1.345 GB, free: 13.89 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.819981265987735]