Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 109 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002207/0.002207, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.749/2.749, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002985/0.002985, allocations: 67.91 kB / 1.104 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8083/0.8112, allocations: 168.7 MB / 1.269 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001808/0.8131, allocations: 0.5802 MB / 1.269 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 4.487e-05/0.8131, allocations: 7.984 kB / 1.269 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.96e-05/0.8131, allocations: 0 / 1.269 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.14e-05/0.8131, allocations: 0 / 1.269 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.549e-05/0.8132, allocations: 4 kB / 1.269 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.824e-05/0.8132, allocations: 4 kB / 1.269 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.603e-05/0.8133, allocations: 4 kB / 1.269 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.498e-05/0.8133, allocations: 7.938 kB / 1.269 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.341e-05/0.8133, allocations: 0 / 1.269 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.113e-05/0.8134, allocations: 0 / 1.269 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.8134, allocations: 0 / 1.269 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 5.59e-06/0.8134, allocations: 0 / 1.269 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/0.8134, allocations: 0 / 1.269 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.154e-05/0.8134, allocations: 0 / 1.269 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 5.607e-05/0.8135, allocations: 0 / 1.269 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.8135, allocations: 8 kB / 1.269 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8135, allocations: 0 / 1.269 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.8135, allocations: 0 / 1.269 GB, free: 4.508 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003258/0.8138, allocations: 317.5 kB / 1.27 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.8139, allocations: 12.06 kB / 1.27 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.243e-05/0.8139, allocations: 34.69 kB / 1.27 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.852e-05/0.8139, allocations: 0.9375 kB / 1.27 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.814, allocations: 162.2 kB / 1.27 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.8141, allocations: 384 / 1.27 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.064e-06/0.8141, allocations: 384 / 1.27 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.849e-05/0.8142, allocations: 38.25 kB / 1.27 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.8142, allocations: 3.938 kB / 1.27 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.8142, allocations: 0 / 1.27 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.8142, allocations: 0 / 1.27 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.551e-05/0.8142, allocations: 3.938 kB / 1.27 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001717/0.8144, allocations: 149.7 kB / 1.27 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.135e-05/0.8144, allocations: 18.52 kB / 1.27 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.432e-05/0.8144, allocations: 12.95 kB / 1.27 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.8144, allocations: 0 / 1.27 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.8145, allocations: 38.48 kB / 1.27 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 7.22e-07/0.8145, allocations: 0 / 1.27 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001186/0.8146, allocations: 37.64 kB / 1.27 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.8146, allocations: 55.34 kB / 1.27 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.841e-05/0.8147, allocations: 89.86 kB / 1.27 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.8147, allocations: 33.83 kB / 1.27 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.556e-05/0.8147, allocations: 80.14 kB / 1.27 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.8148, allocations: 3.984 kB / 1.27 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.578e-05/0.8148, allocations: 9.719 kB / 1.27 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.8149, allocations: 314.8 kB / 1.271 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.23e-05/0.815, allocations: 4 kB / 1.271 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.762e-06/0.815, allocations: 3.984 kB / 1.271 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.198e-05/0.815, allocations: 12.92 kB / 1.271 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.815, allocations: 0 / 1.271 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.998e-05/0.815, allocations: 29.7 kB / 1.271 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.8151, allocations: 9.812 kB / 1.271 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.8151, allocations: 3.938 kB / 1.271 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.8151, allocations: 0 / 1.271 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.227e-05/0.8151, allocations: 4 kB / 1.271 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.8151, allocations: 0 / 1.271 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.008e-05/0.8152, allocations: 0 / 1.271 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.8152, allocations: 0 / 1.271 GB, free: 2.824 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 8.61e-05/0.8152, allocations: 121.9 kB / 1.271 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.871e-06/0.8152, allocations: 0 / 1.271 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.992e-05/0.8153, allocations: 7.062 kB / 1.271 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.8153, allocations: 0 / 1.271 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.8153, allocations: 0 / 1.271 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.8153, allocations: 0 / 1.271 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.8154, allocations: 145.7 kB / 1.271 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.8154, allocations: 0 / 1.271 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.407e-06/0.8154, allocations: 4 kB / 1.271 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.8154, allocations: 7.922 kB / 1.271 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.8154, allocations: 7.938 kB / 1.271 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.8154, allocations: 0 / 1.271 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.8154, allocations: 0 / 1.271 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.345e-05/0.8155, allocations: 61.08 kB / 1.271 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.641e-05/0.8156, allocations: 81.09 kB / 1.271 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.8156, allocations: 3.938 kB / 1.271 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.014e-05/0.8156, allocations: 3.984 kB / 1.271 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.234e-05/0.8156, allocations: 4.031 kB / 1.271 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.8156, allocations: 4 kB / 1.271 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.474e-05/0.8156, allocations: 75.28 kB / 1.271 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8156, allocations: 3.938 kB / 1.271 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001789/0.8158, allocations: 0 / 1.271 GB, free: 2.207 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0004281/0.8162, allocations: 0.5974 MB / 1.272 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.774e-05/0.8163, allocations: 11.94 kB / 1.272 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.8163, allocations: 0 / 1.272 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.749e-06/0.8163, allocations: 0 / 1.272 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.8164, allocations: 4 kB / 1.272 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003715/0.8168, allocations: 111.1 kB / 1.272 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.8171, allocations: 0.6729 MB / 1.273 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.091e-05/0.8171, allocations: 4.125 kB / 1.273 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.407e-05/0.8171, allocations: 11.44 kB / 1.273 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of SimCode: time 3e-07/0.8171, allocations: 0 / 1.273 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02421/0.8414, allocations: 0.917 MB / 1.274 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.069/8.911, allocations: 8.703 kB / 1.274 GB, free: 15.89 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.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: 14.832728803157806]