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.001442/0.001442, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.676/2.676, allocations: 461.9 MB / 0.7347 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 64.86 kB / 0.8992 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2615, allocations: 157.4 MB / 1.053 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001621/0.2631, allocations: 0.5796 MB / 1.053 GB, free: 7.672 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 3.33e-05/0.2632, allocations: 4 kB / 1.053 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.356e-05/0.2632, allocations: 4 kB / 1.053 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.126e-05/0.2632, allocations: 0 / 1.053 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 1.912e-05/0.2633, allocations: 0 / 1.053 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 2.584e-05/0.2633, allocations: 0 / 1.053 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.351e-05/0.2634, allocations: 11.94 kB / 1.054 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.162e-05/0.2634, allocations: 4 kB / 1.054 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.211e-05/0.2634, allocations: 0 / 1.054 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.298e-05/0.2634, allocations: 0 / 1.054 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.273e-06/0.2634, allocations: 0 / 1.054 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.657e-06/0.2634, allocations: 0 / 1.054 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.936e-06/0.2635, allocations: 0 / 1.054 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.852e-05/0.2635, allocations: 4 kB / 1.054 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 4.188e-05/0.2635, allocations: 3.984 kB / 1.054 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2635, allocations: 4 kB / 1.054 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2635, allocations: 0 / 1.054 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.2636, allocations: 0 / 1.054 GB, free: 7.637 MB / 0.8106 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.0002032/0.2638, allocations: 307.6 kB / 1.054 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.2638, allocations: 12.66 kB / 1.054 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.855e-05/0.2638, allocations: 30.75 kB / 1.054 GB, free: 7.234 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.528e-05/0.2639, allocations: 4.875 kB / 1.054 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.587e-05/0.2639, allocations: 172.4 kB / 1.054 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.805e-06/0.2639, allocations: 384 / 1.054 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.92e-06/0.264, allocations: 384 / 1.054 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.377e-05/0.264, allocations: 30.27 kB / 1.054 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.264, allocations: 3.938 kB / 1.054 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-06/0.264, allocations: 0 / 1.054 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.2641, allocations: 3.938 kB / 1.054 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.307e-05/0.2641, allocations: 0 / 1.054 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001029/0.2642, allocations: 149.7 kB / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 2.822e-05/0.2642, allocations: 22.56 kB / 1.054 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.928e-05/0.2642, allocations: 8.953 kB / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.043e-06/0.2642, allocations: 0 / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.601e-05/0.2643, allocations: 30.56 kB / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.2643, allocations: 0 / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 8.91e-05/0.2644, allocations: 45.52 kB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.2644, allocations: 55.53 kB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.644e-05/0.2644, allocations: 93.86 kB / 1.054 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.727e-06/0.2644, allocations: 25.7 kB / 1.054 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 1.981e-05/0.2645, allocations: 80.14 kB / 1.055 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.2645, allocations: 0 / 1.055 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.285e-05/0.2645, allocations: 13.7 kB / 1.055 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.879e-05/0.2646, allocations: 318.8 kB / 1.055 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.175e-06/0.2646, allocations: 4 kB / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.47e-06/0.2646, allocations: 4 kB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.96e-05/0.2647, allocations: 12.8 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.2647, allocations: 4 kB / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.473e-05/0.2647, allocations: 29.7 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.2647, allocations: 4 kB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.2647, allocations: 3.938 kB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.2647, allocations: 4 kB / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.985e-05/0.2648, allocations: 0 / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-06/0.2648, allocations: 0 / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.077e-05/0.2648, allocations: 8.078 kB / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-06/0.2648, allocations: 0 / 1.055 GB, free: 5.949 MB / 0.8106 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.452e-05/0.2649, allocations: 113.8 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.099e-06/0.2649, allocations: 3.938 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.176e-05/0.2649, allocations: 7.062 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-06/0.2649, allocations: 0 / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.2649, allocations: 0 / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.2649, allocations: 0 / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.732e-05/0.265, allocations: 145.7 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.265, allocations: 8 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.978e-06/0.265, allocations: 0 / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.265, allocations: 0 / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.265, allocations: 3.938 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.265, allocations: 3.938 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.265, allocations: 0 / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.072e-05/0.2651, allocations: 57.14 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.641e-05/0.2651, allocations: 85.36 kB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.2651, allocations: 7.969 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.514e-06/0.2652, allocations: 0 / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.544e-06/0.2652, allocations: 0 / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-06/0.2652, allocations: 4 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 1.949e-05/0.2652, allocations: 75.28 kB / 1.055 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2652, allocations: 0 / 1.055 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002057/0.2654, allocations: 0 / 1.055 GB, free: 5.352 MB / 0.8106 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.0002754/0.2657, allocations: 0.6045 MB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 5.27e-05/0.2657, allocations: 4 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2658, allocations: 0 / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.834e-06/0.2658, allocations: 8 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001182/0.2659, allocations: 3.938 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002666/0.2662, allocations: 123.3 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001619/0.2663, allocations: 0.669 MB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.897e-06/0.2663, allocations: 0 / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.494e-05/0.2664, allocations: 11.44 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/0.2664, allocations: 0 / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04017/0.3065, allocations: 0.8828 MB / 1.058 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.174/7.481, allocations: 5.531 kB / 1.058 GB, free: 3.043 MB / 0.8106 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) "" Variables in the reference:time,civTim.y Variables in the result:civTim.y,time