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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001429/0.001428, allocations: 108 kB / 15.6 MB, free: 132 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.001387/0.001387, allocations: 191.8 kB / 16.53 MB, free: 6.391 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.265/1.265, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.533/2.533, allocations: 469.8 MB / 0.7424 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001681/0.001681, allocations: 74.42 kB / 0.9087 GB, free: 34.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2448, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001652/0.2465, allocations: 0.5729 MB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 2.787e-05/0.2465, allocations: 7.828 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.565e-05/0.2465, allocations: 0 / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.923e-05/0.2466, allocations: 0 / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.176e-05/0.2466, allocations: 0 / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 2.936e-05/0.2466, allocations: 4 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.278e-05/0.2467, allocations: 0 / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.256e-05/0.2467, allocations: 4 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.439e-05/0.2467, allocations: 3.984 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 1.289e-05/0.2468, allocations: 0 / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.675e-06/0.2468, allocations: 0 / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.787e-06/0.2468, allocations: 0 / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.105e-05/0.2468, allocations: 7.984 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.515e-05/0.2468, allocations: 0 / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 4.007e-05/0.2469, allocations: 4 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2469, allocations: 0 / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2469, allocations: 0 / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.2469, allocations: 0 / 1.065 GB, free: 13.58 MB / 0.8262 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.0002714/0.2472, allocations: 315.5 kB / 1.065 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.2472, allocations: 8.031 kB / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.126e-05/0.2472, allocations: 34.73 kB / 1.065 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.85e-05/0.2472, allocations: 4.922 kB / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.2474, allocations: 168.3 kB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.092e-06/0.2474, allocations: 4.312 kB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.297e-06/0.2474, allocations: 4.375 kB / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.968e-05/0.2475, allocations: 26.27 kB / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.2475, allocations: 3.938 kB / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.769e-06/0.2475, allocations: 0 / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.2475, allocations: 0 / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.576e-05/0.2475, allocations: 4 kB / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001396/0.2477, allocations: 153.7 kB / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 2.73e-05/0.2477, allocations: 18.52 kB / 1.065 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.117e-05/0.2477, allocations: 8.953 kB / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.209e-06/0.2477, allocations: 0 / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.2478, allocations: 30.56 kB / 1.065 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 6.31e-07/0.2478, allocations: 0 / 1.065 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.000103/0.2479, allocations: 45.58 kB / 1.065 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.2479, allocations: 55.53 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.527e-05/0.248, allocations: 89.86 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.248, allocations: 25.7 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.17e-05/0.248, allocations: 84.12 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.248, allocations: 0 / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/0.2481, allocations: 13.72 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.2482, allocations: 318.8 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.813e-06/0.2482, allocations: 0 / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.418e-06/0.2482, allocations: 4 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.012e-05/0.2482, allocations: 8.859 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2482, allocations: 0 / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.44e-05/0.2483, allocations: 33.64 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.2483, allocations: 9.875 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.2483, allocations: 3.938 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.2484, allocations: 3.984 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.14e-05/0.2484, allocations: 0 / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.2484, allocations: 96 / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.957e-06/0.2484, allocations: 4 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.2484, allocations: 4 kB / 1.066 GB, free: 11.89 MB / 0.8262 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 6.419e-05/0.2485, allocations: 109.8 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.498e-06/0.2485, allocations: 4 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.325e-05/0.2485, allocations: 11 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.2485, allocations: 0 / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2485, allocations: 0 / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-06/0.2485, allocations: 0 / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.918e-05/0.2487, allocations: 149.7 kB / 1.066 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.2487, allocations: 4 kB / 1.066 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.897e-06/0.2487, allocations: 0 / 1.066 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.2487, allocations: 3.938 kB / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.2487, allocations: 3.938 kB / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.2487, allocations: 4 kB / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2487, allocations: 0 / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.077e-05/0.2488, allocations: 64.97 kB / 1.066 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.699e-05/0.2488, allocations: 81.42 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.2488, allocations: 3.938 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.005e-06/0.2488, allocations: 4 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.056e-05/0.2489, allocations: 0 / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-06/0.2489, allocations: 0 / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.888e-05/0.2489, allocations: 75.28 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2489, allocations: 0 / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001665/0.2491, allocations: 0 / 1.067 GB, free: 11.29 MB / 0.8262 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.0003718/0.2494, allocations: 0.5968 MB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.243e-05/0.2495, allocations: 11.94 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2495, allocations: 0 / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.424e-06/0.2495, allocations: 4 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001123/0.2497, allocations: 3.938 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002972/0.25, allocations: 115.4 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.2502, allocations: 0.6729 MB / 1.068 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.917e-06/0.2502, allocations: 0 / 1.068 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.364e-05/0.2503, allocations: 7.438 kB / 1.068 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of SimCode: time 1.91e-07/0.2503, allocations: 0 / 1.068 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.432/1.682, allocations: 0.8826 MB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/13.37, allocations: 4.281 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB (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 --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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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