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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008467/0.008467, allocations: 100.7 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 196.2 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.595/2.595, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.00144, allocations: 67.89 kB / 1.054 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8222/0.8237, allocations: 157.4 MB / 1.207 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.002114/0.8259, allocations: 0.5828 MB / 1.208 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 5.017e-05/0.826, allocations: 0 / 1.208 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.862e-05/0.826, allocations: 0 / 1.208 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.363e-05/0.826, allocations: 0 / 1.208 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 2.842e-05/0.8261, allocations: 4 kB / 1.208 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 3.158e-05/0.8261, allocations: 0 / 1.208 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.347e-05/0.8262, allocations: 4 kB / 1.208 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.339e-05/0.8262, allocations: 13.95 kB / 1.208 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.427e-05/0.8262, allocations: 0 / 1.208 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 1.576e-05/0.8263, allocations: 0 / 1.208 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.638e-06/0.8263, allocations: 0 / 1.208 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.098e-06/0.8263, allocations: 4 kB / 1.208 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.232e-05/0.8263, allocations: 0 / 1.208 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.903e-05/0.8263, allocations: 0 / 1.208 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 5.567e-05/0.8264, allocations: 7.922 kB / 1.208 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.8264, allocations: 4 kB / 1.208 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8264, allocations: 0 / 1.208 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.8264, allocations: 0 / 1.208 GB, free: 12.97 MB / 0.9356 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.0002527/0.8267, allocations: 307.6 kB / 1.208 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.8267, allocations: 12.02 kB / 1.208 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.332e-05/0.8268, allocations: 30.75 kB / 1.208 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.127e-05/0.8268, allocations: 8.938 kB / 1.208 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.006e-05/0.8269, allocations: 160.4 kB / 1.208 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.8269, allocations: 384 / 1.208 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.311e-06/0.8269, allocations: 384 / 1.208 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.903e-05/0.827, allocations: 30.27 kB / 1.208 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.827, allocations: 3.938 kB / 1.208 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.842e-06/0.827, allocations: 4 kB / 1.208 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.827, allocations: 3.984 kB / 1.208 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.794e-05/0.827, allocations: 7.875 kB / 1.208 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001258/0.8272, allocations: 145.7 kB / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 3.681e-05/0.8272, allocations: 22.61 kB / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.118e-05/0.8272, allocations: 8.859 kB / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.305e-06/0.8273, allocations: 0 / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.8273, allocations: 34.62 kB / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.8273, allocations: 0 / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001188/0.8274, allocations: 37.58 kB / 1.209 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.8275, allocations: 55.41 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.669e-05/0.8275, allocations: 93.84 kB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.8275, allocations: 29.83 kB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.621e-05/0.8276, allocations: 80.14 kB / 1.209 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.8276, allocations: 0 / 1.209 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/0.8276, allocations: 17.66 kB / 1.209 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.097e-05/0.8277, allocations: 310.8 kB / 1.209 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.646e-06/0.8277, allocations: 0 / 1.209 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.692e-06/0.8277, allocations: 4 kB / 1.209 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.614e-05/0.8278, allocations: 12.92 kB / 1.209 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.8278, allocations: 0 / 1.209 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.257e-05/0.8278, allocations: 41.55 kB / 1.209 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.8279, allocations: 7.984 kB / 1.209 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.8279, allocations: 3.938 kB / 1.209 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.8279, allocations: 0 / 1.209 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.126e-05/0.8279, allocations: 4 kB / 1.209 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.8279, allocations: 0 / 1.209 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.468e-06/0.828, allocations: 0 / 1.209 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.828, allocations: 0 / 1.209 GB, free: 11.29 MB / 0.9356 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 5.899e-05/0.828, allocations: 109.9 kB / 1.209 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.42e-06/0.828, allocations: 0 / 1.209 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.029e-05/0.8281, allocations: 11.06 kB / 1.209 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.8281, allocations: 0 / 1.209 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.8281, allocations: 0 / 1.209 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.8281, allocations: 4 kB / 1.209 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.899e-05/0.8282, allocations: 149.7 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.8282, allocations: 0 / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.427e-05/0.8282, allocations: 4 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.8282, allocations: 3.938 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.8282, allocations: 7.938 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.8282, allocations: 0 / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.8282, allocations: 0 / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.986e-05/0.8283, allocations: 61.06 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.006e-05/0.8283, allocations: 83.36 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.8283, allocations: 3.938 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.234e-06/0.8283, allocations: 0 / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.01e-05/0.8284, allocations: 4.031 kB / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-06/0.8284, allocations: 0 / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 2.402e-05/0.8284, allocations: 75.28 kB / 1.21 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.8284, allocations: 0 / 1.21 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001937/0.8286, allocations: 4 kB / 1.21 GB, free: 10.68 MB / 0.9356 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.0004003/0.829, allocations: 0.6007 MB / 1.21 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.719e-05/0.8291, allocations: 4 kB / 1.21 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.8291, allocations: 0 / 1.21 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.09e-06/0.8291, allocations: 0 / 1.21 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/0.8293, allocations: 3.938 kB / 1.21 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004224/0.8297, allocations: 119.1 kB / 1.211 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.83, allocations: 0.669 MB / 1.211 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.471e-05/0.83, allocations: 4.125 kB / 1.211 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.88e-05/0.83, allocations: 7.438 kB / 1.211 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of SimCode: time 3.546e-06/0.83, allocations: 0 / 1.211 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01602/0.846, allocations: 0.9157 MB / 1.212 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.473/8.319, allocations: 0 / 1.212 GB, free: 8.375 MB / 0.9356 GB (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 --timeout=50 --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) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches