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.001305/0.001305, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002373/0.002373, allocations: 211.7 kB / 22.24 MB, free: 5.262 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.449/1.449, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 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.46/3.46, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",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.002213/0.002213, allocations: 71.09 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4071/0.4093, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.00329/0.4126, allocations: 1.72 MB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001743/0.4143, allocations: 0.9096 MB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.596e-05/0.4144, allocations: 0 / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001928/0.4146, allocations: 35.66 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003959/0.415, allocations: 111.5 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000383/0.4154, allocations: 162.3 kB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003182/0.4157, allocations: 251.4 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.4158, allocations: 22.03 kB / 1.367 GB, free: 10.9 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.416, allocations: 119.7 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01685/0.4329, allocations: 2.016 MB / 1.369 GB, free: 9.305 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.44e-05/0.4329, allocations: 16 kB / 1.369 GB, free: 9.289 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.4331, allocations: 43.97 kB / 1.369 GB, free: 9.246 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.868e-05/0.4331, allocations: 39.84 kB / 1.369 GB, free: 9.207 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.4333, allocations: 83.56 kB / 1.369 GB, free: 9.125 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003882/0.4337, allocations: 215.2 kB / 1.369 GB, free: 8.914 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4337, allocations: 0 / 1.369 GB, free: 8.914 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.794e-06/0.4337, allocations: 0 / 1.369 GB, free: 8.914 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.256e-05/0.4337, allocations: 8 kB / 1.369 GB, free: 8.906 MB / 1.061 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.0008709/0.4346, allocations: 494.1 kB / 1.369 GB, free: 8.383 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.4346, allocations: 8.031 kB / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.272e-05/0.4346, allocations: 46.67 kB / 1.37 GB, free: 8.32 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.921e-05/0.4347, allocations: 20.84 kB / 1.37 GB, free: 8.301 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.435, allocations: 185.6 kB / 1.37 GB, free: 8.094 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.435, allocations: 11.98 kB / 1.37 GB, free: 8.082 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.936e-05/0.4351, allocations: 20 kB / 1.37 GB, free: 8.062 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.4353, allocations: 93.59 kB / 1.37 GB, free: 7.965 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.4353, allocations: 0 / 1.37 GB, free: 7.965 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.4353, allocations: 4 kB / 1.37 GB, free: 7.961 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.4353, allocations: 7.938 kB / 1.37 GB, free: 7.953 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.4354, allocations: 51.97 kB / 1.37 GB, free: 7.902 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000841/0.4363, allocations: 395.6 kB / 1.37 GB, free: 7.473 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004486/0.4367, allocations: 126.7 kB / 1.37 GB, free: 7.34 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.64e-05/0.4368, allocations: 32.84 kB / 1.37 GB, free: 7.305 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.4368, allocations: 0 / 1.37 GB, free: 7.305 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002949/0.4371, allocations: 111.2 kB / 1.371 GB, free: 7.184 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.4371, allocations: 3.938 kB / 1.371 GB, free: 7.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.0003712/0.4375, allocations: 172.5 kB / 1.371 GB, free: 7.008 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.4375, allocations: 59.41 kB / 1.371 GB, free: 6.938 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.4377, allocations: 194.5 kB / 1.371 GB, free: 6.734 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.048e-05/0.4378, allocations: 37.69 kB / 1.371 GB, free: 6.691 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.4379, allocations: 120.5 kB / 1.371 GB, free: 6.57 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.4379, allocations: 35.7 kB / 1.371 GB, free: 6.535 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.438, allocations: 57.67 kB / 1.371 GB, free: 6.473 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001951/0.4382, allocations: 330.8 kB / 1.371 GB, free: 6.141 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.4383, allocations: 35.98 kB / 1.372 GB, free: 6.105 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004377/0.4388, allocations: 239.7 kB / 1.372 GB, free: 5.82 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.439, allocations: 104.1 kB / 1.372 GB, free: 5.703 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.439, allocations: 0 / 1.372 GB, free: 5.703 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002744/0.4393, allocations: 155.5 kB / 1.372 GB, free: 5.547 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.4393, allocations: 4 kB / 1.372 GB, free: 5.543 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.4393, allocations: 3.984 kB / 1.372 GB, free: 5.539 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.4393, allocations: 4 kB / 1.372 GB, free: 5.535 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.331e-05/0.4394, allocations: 20.11 kB / 1.372 GB, free: 5.516 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.4394, allocations: 4 kB / 1.372 GB, free: 5.512 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.4396, allocations: 31.81 kB / 1.372 GB, free: 5.48 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.4396, allocations: 8 kB / 1.372 GB, free: 5.473 MB / 1.061 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.0001615/0.4398, allocations: 139.5 kB / 1.372 GB, free: 5.328 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.216e-05/0.4398, allocations: 19.84 kB / 1.372 GB, free: 5.309 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.177e-05/0.4399, allocations: 17.81 kB / 1.372 GB, free: 5.285 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.4399, allocations: 4 kB / 1.372 GB, free: 5.281 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.4399, allocations: 3.984 kB / 1.372 GB, free: 5.277 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.4399, allocations: 0 / 1.372 GB, free: 5.277 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007466/0.4406, allocations: 457.3 kB / 1.373 GB, free: 4.781 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.4406, allocations: 3.984 kB / 1.373 GB, free: 4.777 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.678e-05/0.4407, allocations: 7.938 kB / 1.373 GB, free: 4.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.4407, allocations: 0 / 1.373 GB, free: 4.77 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.4407, allocations: 3.938 kB / 1.373 GB, free: 4.766 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.4407, allocations: 3.984 kB / 1.373 GB, free: 4.762 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4407, allocations: 3.938 kB / 1.373 GB, free: 4.758 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/0.441, allocations: 234.8 kB / 1.373 GB, free: 4.516 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.962e-05/0.441, allocations: 19.89 kB / 1.373 GB, free: 4.496 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.441, allocations: 3.938 kB / 1.373 GB, free: 4.492 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.4412, allocations: 15.98 kB / 1.373 GB, free: 4.477 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.241e-05/0.4413, allocations: 23.91 kB / 1.373 GB, free: 4.453 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.4413, allocations: 7.984 kB / 1.373 GB, free: 4.445 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001538/0.4414, allocations: 148.2 kB / 1.373 GB, free: 4.301 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4414, allocations: 0 / 1.373 GB, free: 4.301 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003153/0.4417, allocations: 47.89 kB / 1.373 GB, free: 4.254 MB / 1.061 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.0009616/0.4427, allocations: 0.835 MB / 1.374 GB, free: 3.414 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002571/0.443, allocations: 99.78 kB / 1.374 GB, free: 3.316 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.443, allocations: 4 kB / 1.374 GB, free: 3.312 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.9e-05/0.4431, allocations: 43.92 kB / 1.374 GB, free: 3.27 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004729/0.4435, allocations: 57.94 kB / 1.374 GB, free: 3.219 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002303/0.4458, allocations: 1.896 MB / 1.376 GB, free: 1.215 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/0.446, allocations: 116.4 kB / 1.376 GB, free: 1.082 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.643e-05/0.4461, allocations: 21.62 kB / 1.376 GB, free: 1.062 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.4462, allocations: 55.41 kB / 1.376 GB, free: 1.008 MB / 1.061 GB Notification: Performance of SimCode: time 4.91e-07/0.4462, allocations: 0 / 1.376 GB, free: 1.008 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03639/0.4826, allocations: 6.466 MB / 1.383 GB, free: 10.74 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.27, allocations: 20.41 kB / 1.383 GB, free: 10.73 MB / 1.076 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/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: 19.26944389101118]