Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001716/0.001716, allocations: 98.61 kB / 16.39 MB, free: 6.371 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.001815/0.001815, allocations: 192.6 kB / 19.35 MB, free: 3.836 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.449/1.449, allocations: 222.9 MB / 245 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.862/2.862, allocations: 489 MB / 0.7678 GB, free: 0 / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001933/0.001933, allocations: 67.91 kB / 1.101 GB, free: 6.051 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.948/0.95, allocations: 163.8 MB / 1.261 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001755/0.9518, allocations: 0.5747 MB / 1.262 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 4.334e-05/0.9518, allocations: 0 / 1.262 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.991e-05/0.9518, allocations: 0 / 1.262 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.28e-05/0.9519, allocations: 0 / 1.262 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.817e-05/0.9519, allocations: 4 kB / 1.262 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.618e-05/0.952, allocations: 4 kB / 1.262 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.145e-05/0.952, allocations: 4 kB / 1.262 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.733e-05/0.9521, allocations: 11.92 kB / 1.262 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.973e-05/0.9521, allocations: 0 / 1.262 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.803e-05/0.9521, allocations: 4 kB / 1.262 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.9521, allocations: 0 / 1.262 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.098e-06/0.9522, allocations: 3.938 kB / 1.262 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.9522, allocations: 0 / 1.262 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.556e-05/0.9522, allocations: 3.984 kB / 1.262 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 6.606e-05/0.9523, allocations: 3.797 kB / 1.262 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.9523, allocations: 4 kB / 1.262 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9523, allocations: 0 / 1.262 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.9523, allocations: 0 / 1.262 GB, free: 6.5 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.0003474/0.9527, allocations: 311.6 kB / 1.262 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.9527, allocations: 12.03 kB / 1.262 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.642e-05/0.9527, allocations: 30.75 kB / 1.262 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.065e-05/0.9528, allocations: 4.938 kB / 1.262 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.9529, allocations: 160.4 kB / 1.262 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.9529, allocations: 384 / 1.262 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.291e-06/0.9529, allocations: 384 / 1.262 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.688e-05/0.953, allocations: 37.2 kB / 1.262 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.953, allocations: 3.938 kB / 1.262 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.9531, allocations: 3.938 kB / 1.262 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.9531, allocations: 0 / 1.262 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.624e-05/0.9531, allocations: 7.875 kB / 1.262 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001596/0.9533, allocations: 145.7 kB / 1.262 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.746e-05/0.9533, allocations: 22.61 kB / 1.262 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.543e-05/0.9534, allocations: 12.92 kB / 1.262 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.694e-06/0.9534, allocations: 0 / 1.262 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.9534, allocations: 30.56 kB / 1.262 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.9534, allocations: 0 / 1.262 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001406/0.9536, allocations: 45.52 kB / 1.262 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.9536, allocations: 55.41 kB / 1.263 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.766e-05/0.9537, allocations: 89.86 kB / 1.263 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.9537, allocations: 29.83 kB / 1.263 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.879e-05/0.9537, allocations: 80.14 kB / 1.263 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.9538, allocations: 4 kB / 1.263 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.9538, allocations: 9.719 kB / 1.263 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001935/0.954, allocations: 310.8 kB / 1.263 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.698e-06/0.954, allocations: 0 / 1.263 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.628e-06/0.954, allocations: 4 kB / 1.263 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.07e-05/0.9541, allocations: 12.92 kB / 1.263 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.9541, allocations: 4 kB / 1.263 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.596e-05/0.9541, allocations: 37.62 kB / 1.263 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.9542, allocations: 4 kB / 1.263 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.9542, allocations: 3.938 kB / 1.263 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.9542, allocations: 4 kB / 1.263 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.467e-05/0.9543, allocations: 4 kB / 1.263 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.9543, allocations: 0 / 1.263 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.488e-06/0.9543, allocations: 0 / 1.263 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.9543, allocations: 0 / 1.263 GB, free: 4.816 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.635e-05/0.9544, allocations: 109.9 kB / 1.263 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.063e-06/0.9544, allocations: 4 kB / 1.263 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.216e-05/0.9544, allocations: 11.06 kB / 1.263 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.9544, allocations: 0 / 1.263 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.9544, allocations: 0 / 1.263 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.9544, allocations: 0 / 1.263 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.9546, allocations: 145.7 kB / 1.263 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.9546, allocations: 0 / 1.263 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.327e-05/0.9546, allocations: 4 kB / 1.263 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.9546, allocations: 3.938 kB / 1.263 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.9546, allocations: 7.938 kB / 1.263 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.9546, allocations: 0 / 1.263 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.9546, allocations: 0 / 1.263 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.397e-05/0.9547, allocations: 72.98 kB / 1.263 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.182e-05/0.9548, allocations: 77.11 kB / 1.264 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.9548, allocations: 3.938 kB / 1.264 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.822e-06/0.9548, allocations: 0 / 1.264 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.527e-05/0.9548, allocations: 4.031 kB / 1.264 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-06/0.9548, allocations: 0 / 1.264 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.995e-05/0.9549, allocations: 75.28 kB / 1.264 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9549, allocations: 4 kB / 1.264 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001927/0.9551, allocations: 0 / 1.264 GB, free: 4.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.0005644/0.9557, allocations: 0.6007 MB / 1.264 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.445e-05/0.9558, allocations: 4 kB / 1.264 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.9558, allocations: 0 / 1.264 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.268e-06/0.9558, allocations: 0 / 1.264 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.9559, allocations: 5.719 kB / 1.264 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003851/0.9563, allocations: 111.1 kB / 1.264 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/0.9567, allocations: 0.669 MB / 1.265 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.451e-05/0.9568, allocations: 8.062 kB / 1.265 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.627e-05/0.9568, allocations: 7.438 kB / 1.265 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of SimCode: time 2.51e-07/0.9568, allocations: 4 kB / 1.265 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02269/0.9795, allocations: 0.9068 MB / 1.266 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.891/8.87, allocations: 7.922 kB / 1.266 GB, free: 1.906 MB / 0.9669 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.033655926818028]