Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.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.001067/0.001067, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0009764/0.0009764, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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 0.8998/0.8998, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.697/1.697, allocations: 377.8 MB / 0.6221 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,fileNamePrefix="Buildings_12_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_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 0.981 GB, free: 1.383 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.947e-05/2.212e-05, allocations: 6.219 kB / 0.981 GB, free: 1.375 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001256/0.001278, allocations: 0.5806 MB / 0.9816 GB, free: 0.7969 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 3.965e-05/0.001318, allocations: 0 / 0.9816 GB, free: 0.7969 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.579e-05/0.001333, allocations: 0 / 0.9816 GB, free: 0.7969 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 2.83e-05/0.001362, allocations: 0 / 0.9816 GB, free: 0.7969 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 2.398e-05/0.001386, allocations: 0 / 0.9816 GB, free: 0.7969 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 3.184e-05/0.001417, allocations: 0 / 0.9816 GB, free: 0.7969 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 5.452e-05/0.001472, allocations: 11.94 kB / 0.9816 GB, free: 0.7852 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 4.332e-05/0.001515, allocations: 3.984 kB / 0.9816 GB, free: 0.7812 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 3.155e-05/0.001547, allocations: 4 kB / 0.9816 GB, free: 0.7773 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 1.691e-05/0.001564, allocations: 0 / 0.9816 GB, free: 0.7773 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.001581, allocations: 4 kB / 0.9816 GB, free: 0.7734 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 4.358e-06/0.001585, allocations: 0 / 0.9816 GB, free: 0.7734 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 1.152e-05/0.001597, allocations: 0 / 0.9816 GB, free: 0.7734 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 1.9e-05/0.001616, allocations: 4 kB / 0.9816 GB, free: 0.7695 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 5.711e-05/0.001673, allocations: 3.984 kB / 0.9816 GB, free: 0.7656 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.001675, allocations: 0 / 0.9816 GB, free: 0.7656 MB / 0.8855 GB Notification: Performance of FrontEnd: time 6.32e-07/0.001675, allocations: 3.938 kB / 0.9816 GB, free: 0.7617 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.868e-06/0.001679, allocations: 0 / 0.9816 GB, free: 0.7617 MB / 0.8855 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.0002083/0.001887, allocations: 230.5 kB / 0.9818 GB, free: 0.5039 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.001925, allocations: 8.031 kB / 0.9818 GB, free: 0.4961 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.705e-05/0.001952, allocations: 34.75 kB / 0.9819 GB, free: 464 kB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.923e-05/0.001971, allocations: 8.938 kB / 0.9819 GB, free: 456 kB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.298e-05/0.002024, allocations: 109.8 kB / 0.982 GB, free: 320 kB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.002034, allocations: 384 / 0.982 GB, free: 320 kB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.133e-06/0.002041, allocations: 384 / 0.982 GB, free: 320 kB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.487e-05/0.002116, allocations: 30.27 kB / 0.982 GB, free: 284 kB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.002122, allocations: 192 / 0.982 GB, free: 284 kB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.002129, allocations: 384 / 0.982 GB, free: 284 kB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.002134, allocations: 4.125 kB / 0.982 GB, free: 280 kB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.501e-05/0.002149, allocations: 3.938 kB / 0.982 GB, free: 276 kB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.229e-05/0.002241, allocations: 116.8 kB / 0.9821 GB, free: 116 kB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 3.708e-05/0.002278, allocations: 26.52 kB / 0.9822 GB, free: 80 kB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.864e-05/0.002297, allocations: 8.953 kB / 0.9822 GB, free: 68 kB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 7.675e-06/0.002305, allocations: 3.938 kB / 0.9822 GB, free: 64 kB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.002327, allocations: 34.55 kB / 0.9822 GB, free: 20 kB / 0.8855 GB Notification: Performance of pre-optimization done (n=1): time 9.61e-07/0.002328, allocations: 0 / 0.9822 GB, free: 20 kB / 0.8855 GB Notification: Performance of matching and sorting (n=1): time 0.0001109/0.002439, allocations: 41.59 kB / 0.9823 GB, free: 15.97 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/0.002465, allocations: 55.34 kB / 0.9823 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.124e-05/0.002486, allocations: 89.86 kB / 0.9824 GB, free: 15.81 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.145e-06/0.002494, allocations: 29.7 kB / 0.9824 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 1.614e-05/0.002511, allocations: 84.27 kB / 0.9825 GB, free: 15.69 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.002532, allocations: 0 / 0.9825 GB, free: 15.69 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.916e-05/0.002551, allocations: 13.72 kB / 0.9825 GB, free: 15.67 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.395e-05/0.002615, allocations: 310.8 kB / 0.9828 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.652e-06/0.002622, allocations: 0 / 0.9828 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.049e-06/0.002627, allocations: 3.984 kB / 0.9828 GB, free: 15.35 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.975e-05/0.002647, allocations: 12.86 kB / 0.9828 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.002648, allocations: 0 / 0.9828 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.888e-05/0.002677, allocations: 37.64 kB / 0.9829 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.002688, allocations: 6.438 kB / 0.9829 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.002693, allocations: 4 kB / 0.9829 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.002702, allocations: 0 / 0.9829 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.344e-05/0.002746, allocations: 0 / 0.9829 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.002751, allocations: 7.938 kB / 0.9829 GB, free: 15.28 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.472e-06/0.002757, allocations: 0 / 0.9829 GB, free: 15.28 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-06/0.002761, allocations: 0 / 0.9829 GB, free: 15.28 MB / 0.9011 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 4.26e-05/0.002803, allocations: 108.9 kB / 0.983 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.587e-06/0.002807, allocations: 3.984 kB / 0.983 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.336e-05/0.00282, allocations: 7 kB / 0.983 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.002822, allocations: 0 / 0.983 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.002826, allocations: 7.938 kB / 0.983 GB, free: 15.15 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.002828, allocations: 0 / 0.983 GB, free: 15.15 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.41e-05/0.002872, allocations: 116.8 kB / 0.9831 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.61e-07/0.002872, allocations: 0 / 0.9831 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.769e-06/0.002877, allocations: 4 kB / 0.9831 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.21e-07/0.002878, allocations: 0 / 0.9831 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.167e-06/0.002882, allocations: 0 / 0.9831 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.002884, allocations: 7.984 kB / 0.9831 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.002885, allocations: 3.938 kB / 0.9831 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.84e-05/0.002923, allocations: 65 kB / 0.9832 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 3.336e-06/0.002927, allocations: 4.031 kB / 0.9832 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.673e-06/0.002933, allocations: 3.938 kB / 0.9832 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.377e-06/0.002937, allocations: 0 / 0.9832 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.949e-06/0.002947, allocations: 7.938 kB / 0.9832 GB, free: 14.88 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-06/0.002948, allocations: 3.984 kB / 0.9832 GB, free: 14.88 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 1.65e-05/0.002965, allocations: 79.28 kB / 0.9833 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4e-08/0.002965, allocations: 0 / 0.9833 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001073/0.003072, allocations: 0 / 0.9833 GB, free: 14.8 MB / 0.9011 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.0001927/0.003265, allocations: 0.5813 MB / 0.9839 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 5.415e-05/0.003319, allocations: 19.95 kB / 0.9839 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.00332, allocations: 0 / 0.9839 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 2.785e-06/0.003323, allocations: 0 / 0.9839 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.116e-05/0.003414, allocations: 7.938 kB / 0.9839 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002443/0.003659, allocations: 106.5 kB / 0.984 GB, free: 14.01 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.918e-05/0.003688, allocations: 55.34 kB / 0.984 GB, free: 13.94 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 9.939e-06/0.003698, allocations: 4 kB / 0.984 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.678e-05/0.003715, allocations: 8.5 kB / 0.984 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of SimCode: time 2.6e-07/0.003715, allocations: 0 / 0.984 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01248/0.0162, allocations: 1.533 MB / 0.9855 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.817/6.833, allocations: 7.047 kB / 0.9855 GB, free: 12.52 MB / 0.9011 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.735687610693276]