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.001631/0.001631, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002083/0.002083, allocations: 216.9 kB / 22.25 MB, free: 5.082 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 8.02 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.316/3.316, allocations: 0.49 GB / 0.7951 GB, free: 33.37 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.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: 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.001979/0.001979, allocations: 74.41 kB / 1.154 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.376, allocations: 176.1 MB / 1.326 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.002404/0.3784, allocations: 0.5948 MB / 1.327 GB, free: 1.367 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 4.478e-05/0.3785, allocations: 4 kB / 1.327 GB, free: 1.363 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.394e-05/0.3785, allocations: 0 / 1.327 GB, free: 1.363 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.201e-05/0.3785, allocations: 0 / 1.327 GB, free: 1.363 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.491e-05/0.3786, allocations: 4 kB / 1.327 GB, free: 1.359 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.383e-05/0.3786, allocations: 0 / 1.327 GB, free: 1.359 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.9e-05/0.3787, allocations: 4 kB / 1.327 GB, free: 1.355 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.976e-05/0.3787, allocations: 0 / 1.327 GB, free: 1.355 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.453e-05/0.3787, allocations: 0 / 1.327 GB, free: 1.355 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.125e-05/0.3788, allocations: 4 kB / 1.327 GB, free: 1.352 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.3788, allocations: 0 / 1.327 GB, free: 1.352 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.08e-06/0.3788, allocations: 0 / 1.327 GB, free: 1.352 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.3788, allocations: 7.984 kB / 1.327 GB, free: 1.344 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.928e-05/0.3788, allocations: 0 / 1.327 GB, free: 1.344 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 7.198e-05/0.3789, allocations: 3.984 kB / 1.327 GB, free: 1.34 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.3789, allocations: 0 / 1.327 GB, free: 1.34 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3789, allocations: 0 / 1.327 GB, free: 1.34 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.3789, allocations: 0 / 1.327 GB, free: 1.34 MB / 1.014 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.0003135/0.3792, allocations: 238.7 kB / 1.327 GB, free: 1.074 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.3793, allocations: 16 kB / 1.327 GB, free: 1.059 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.363e-05/0.3793, allocations: 30.75 kB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.237e-05/0.3793, allocations: 0.9375 kB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.3794, allocations: 114.5 kB / 1.327 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.3794, allocations: 384 / 1.327 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/0.3795, allocations: 4.375 kB / 1.327 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.386e-05/0.3796, allocations: 26.27 kB / 1.327 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3796, allocations: 3.938 kB / 1.327 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.3796, allocations: 0 / 1.327 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3796, allocations: 0 / 1.327 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.553e-05/0.3796, allocations: 4 kB / 1.327 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001524/0.3798, allocations: 120.8 kB / 1.327 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.171e-05/0.3798, allocations: 22.52 kB / 1.327 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.751e-05/0.3798, allocations: 12.94 kB / 1.327 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.3798, allocations: 0 / 1.327 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.3799, allocations: 30.97 kB / 1.327 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.3799, allocations: 0 / 1.327 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001345/0.38, allocations: 45.58 kB / 1.327 GB, free: 0.543 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.3801, allocations: 55.53 kB / 1.327 GB, free: 488 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.478e-05/0.3801, allocations: 89.86 kB / 1.327 GB, free: 388 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.3801, allocations: 25.7 kB / 1.327 GB, free: 356 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.347e-05/0.3802, allocations: 84.08 kB / 1.327 GB, free: 268 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.3802, allocations: 3.953 kB / 1.327 GB, free: 264 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.3802, allocations: 13.72 kB / 1.327 GB, free: 244 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.3804, allocations: 318.9 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.062e-05/0.3804, allocations: 0 / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.11e-06/0.3804, allocations: 4 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.733e-05/0.3804, allocations: 8.859 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3804, allocations: 0 / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.977e-05/0.3805, allocations: 33.64 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.3805, allocations: 8 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3805, allocations: 3.938 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.3805, allocations: 0 / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.608e-05/0.3806, allocations: 0 / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.3806, allocations: 0 / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.02e-05/0.3806, allocations: 4.094 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.3806, allocations: 7.938 kB / 1.328 GB, free: 15.84 MB / 1.029 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 9.584e-05/0.3807, allocations: 114.4 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-06/0.3807, allocations: 0 / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.526e-05/0.3807, allocations: 6.938 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3807, allocations: 0 / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3808, allocations: 0 / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3808, allocations: 0 / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.3809, allocations: 116.8 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3809, allocations: 4 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.592e-05/0.3809, allocations: 3.984 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.3809, allocations: 0 / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.3809, allocations: 7.938 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3809, allocations: 0 / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3809, allocations: 0 / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.156e-05/0.381, allocations: 65.06 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.879e-06/0.381, allocations: 0 / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.381, allocations: 15.95 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.502e-06/0.381, allocations: 0 / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.078e-05/0.381, allocations: 0 / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.381, allocations: 4 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.317e-05/0.3811, allocations: 75.28 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3811, allocations: 0 / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000184/0.3812, allocations: 0 / 1.328 GB, free: 15.36 MB / 1.029 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.0004642/0.3817, allocations: 0.5968 MB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.599e-05/0.3818, allocations: 11.94 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3818, allocations: 3.938 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.999e-06/0.3818, allocations: 0 / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001383/0.3819, allocations: 0 / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003926/0.3823, allocations: 115.5 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.3826, allocations: 0.6729 MB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.234e-05/0.3827, allocations: 0 / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.012e-05/0.3827, allocations: 7.438 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3827, allocations: 0 / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0262/0.4089, allocations: 0.9975 MB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.36, allocations: 5.281 kB / 1.331 GB, free: 12.98 MB / 1.029 GB " [Timeout remaining time 289] (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/jenkins1/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: 18.348918145056814]