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.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.001242/0.001242, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.00134/0.00134, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.9119/0.9119, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.681/1.681, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 2.595e-06/2.595e-06, allocations: 0 / 0.9505 GB, free: 3.449 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.433e-05, allocations: 13.31 kB / 0.9506 GB, free: 3.438 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001192/0.001216, allocations: 0.5845 MB / 0.9511 GB, free: 2.848 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 4.2e-05/0.001258, allocations: 0 / 0.9511 GB, free: 2.848 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.737e-05/0.001275, allocations: 0 / 0.9511 GB, free: 2.848 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.679e-05/0.001302, allocations: 0 / 0.9511 GB, free: 2.848 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 2.606e-05/0.001328, allocations: 4 kB / 0.9511 GB, free: 2.844 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 3.134e-05/0.001359, allocations: 0 / 0.9511 GB, free: 2.844 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.852e-05/0.001428, allocations: 7.938 kB / 0.9511 GB, free: 2.836 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.672e-05/0.001475, allocations: 0 / 0.9511 GB, free: 2.836 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.219e-05/0.001507, allocations: 0 / 0.9511 GB, free: 2.836 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 1.815e-05/0.001525, allocations: 0 / 0.9511 GB, free: 2.836 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.001541, allocations: 0 / 0.9511 GB, free: 2.836 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 3.797e-06/0.001544, allocations: 0 / 0.9511 GB, free: 2.836 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.159e-05/0.001556, allocations: 0 / 0.9511 GB, free: 2.836 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.796e-05/0.001574, allocations: 4 kB / 0.9511 GB, free: 2.832 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 5.84e-05/0.001632, allocations: 4 kB / 0.9511 GB, free: 2.828 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.001636, allocations: 7.984 kB / 0.9511 GB, free: 2.82 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.283e-06/0.001637, allocations: 0 / 0.9511 GB, free: 2.82 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.001641, allocations: 0 / 0.9511 GB, free: 2.82 MB / 0.9011 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.0002028/0.001844, allocations: 230.5 kB / 0.9514 GB, free: 2.562 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.001884, allocations: 11.97 kB / 0.9514 GB, free: 2.551 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.649e-05/0.001911, allocations: 30.75 kB / 0.9514 GB, free: 2.512 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.91e-05/0.00193, allocations: 4.938 kB / 0.9514 GB, free: 2.508 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.383e-05/0.001983, allocations: 105.7 kB / 0.9515 GB, free: 2.379 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.001993, allocations: 384 / 0.9515 GB, free: 2.379 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.124e-06/0.002, allocations: 384 / 0.9515 GB, free: 2.379 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.711e-05/0.002077, allocations: 42.25 kB / 0.9516 GB, free: 2.332 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.002084, allocations: 192 / 0.9516 GB, free: 2.332 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.002091, allocations: 384 / 0.9516 GB, free: 2.332 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.002097, allocations: 4.125 kB / 0.9516 GB, free: 2.328 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.513e-05/0.002112, allocations: 0 / 0.9516 GB, free: 2.328 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.169e-05/0.002203, allocations: 120.7 kB / 0.9517 GB, free: 2.168 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 3.434e-05/0.002238, allocations: 18.52 kB / 0.9517 GB, free: 2.141 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.825e-05/0.002256, allocations: 16.89 kB / 0.9517 GB, free: 2.121 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.146e-06/0.002264, allocations: 0 / 0.9517 GB, free: 2.121 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/0.002281, allocations: 30.56 kB / 0.9517 GB, free: 2.082 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 6.41e-07/0.002282, allocations: 4 kB / 0.9517 GB, free: 2.078 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001102/0.002392, allocations: 37.69 kB / 0.9518 GB, free: 2.035 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.002422, allocations: 59.28 kB / 0.9518 GB, free: 1.965 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.412e-05/0.002446, allocations: 89.86 kB / 0.9519 GB, free: 1.867 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.744e-06/0.002454, allocations: 25.7 kB / 0.9519 GB, free: 1.836 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 1.716e-05/0.002471, allocations: 80.14 kB / 0.952 GB, free: 1.754 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.002498, allocations: 4 kB / 0.952 GB, free: 1.75 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.992e-05/0.002518, allocations: 13.72 kB / 0.952 GB, free: 1.73 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.709e-05/0.002585, allocations: 310.8 kB / 0.9523 GB, free: 1.418 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.278e-06/0.002594, allocations: 4 kB / 0.9523 GB, free: 1.414 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.23e-06/0.002599, allocations: 8.125 kB / 0.9523 GB, free: 1.406 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.898e-05/0.002618, allocations: 4.859 kB / 0.9524 GB, free: 1.398 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.002619, allocations: 0 / 0.9524 GB, free: 1.398 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.333e-05/0.002653, allocations: 41.69 kB / 0.9524 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.002665, allocations: 7.938 kB / 0.9524 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.00267, allocations: 0 / 0.9524 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.00268, allocations: 0 / 0.9524 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.909e-05/0.002729, allocations: 0 / 0.9524 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.002735, allocations: 7.938 kB / 0.9524 GB, free: 1.336 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.274e-06/0.002743, allocations: 96 / 0.9524 GB, free: 1.336 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.002747, allocations: 4 kB / 0.9524 GB, free: 1.332 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.523e-05/0.002792, allocations: 105.8 kB / 0.9525 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-06/0.002794, allocations: 0 / 0.9525 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.444e-05/0.002809, allocations: 10.98 kB / 0.9525 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.002811, allocations: 0 / 0.9525 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.002815, allocations: 3.938 kB / 0.9525 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.002817, allocations: 0 / 0.9525 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.907e-05/0.002866, allocations: 112.8 kB / 0.9526 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.002866, allocations: 0 / 0.9526 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.139e-06/0.002872, allocations: 7.938 kB / 0.9526 GB, free: 1.047 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.11e-07/0.002872, allocations: 4 kB / 0.9526 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.002878, allocations: 4 kB / 0.9526 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3e-07/0.002878, allocations: 0 / 0.9526 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.002881, allocations: 7.875 kB / 0.9527 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.4e-05/0.002925, allocations: 61.06 kB / 0.9527 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 3.547e-06/0.002928, allocations: 0 / 0.9527 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.353e-06/0.002936, allocations: 0 / 0.9527 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.366e-06/0.002939, allocations: 0 / 0.9527 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.131e-05/0.00295, allocations: 7.938 kB / 0.9527 GB, free: 0.9453 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.71e-07/0.002951, allocations: 0 / 0.9527 GB, free: 0.9453 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 1.928e-05/0.00297, allocations: 75.31 kB / 0.9528 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4e-08/0.00297, allocations: 4 kB / 0.9528 GB, free: 0.8672 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000109/0.003079, allocations: 0 / 0.9528 GB, free: 0.8672 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.0002258/0.003305, allocations: 0.5891 MB / 0.9534 GB, free: 252 kB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 6.733e-05/0.003373, allocations: 11.94 kB / 0.9534 GB, free: 240 kB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.003375, allocations: 0 / 0.9534 GB, free: 240 kB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 3.476e-06/0.003378, allocations: 3.984 kB / 0.9534 GB, free: 236 kB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.913e-05/0.003477, allocations: 10.44 kB / 0.9534 GB, free: 228 kB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002783/0.003756, allocations: 110.7 kB / 0.9535 GB, free: 76 kB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.382e-05/0.003789, allocations: 55.34 kB / 0.9536 GB, free: 0 / 0.9011 GB Notification: Performance of simCode: alias equations: time 1.041e-05/0.0038, allocations: 4.047 kB / 0.9536 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.135e-05/0.003821, allocations: 8.5 kB / 0.9536 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of SimCode: time 5.21e-07/0.003822, allocations: 0 / 0.9536 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01375/0.01757, allocations: 1.552 MB / 0.9551 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.745/6.763, allocations: 0 / 0.9551 GB, free: 14.57 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.756068959832191]