Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.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.001289/0.001289, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.001579/0.001579, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.517/1.517, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.962/2.962, allocations: 0.5003 GB / 0.8026 GB, free: 6.855 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Examples_ModelTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Examples_ModelTime",fmuType="cs",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.002799/0.002799, allocations: 63.91 kB / 1.165 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9306/0.9334, allocations: 178.9 MB / 1.34 GB, free: 16.48 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001817/0.9352, allocations: 0.6085 MB / 1.341 GB, free: 16.09 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 4.046e-05/0.9352, allocations: 1.844 kB / 1.341 GB, free: 16.09 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.867e-05/0.9353, allocations: 0 / 1.341 GB, free: 16.09 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.775e-05/0.9353, allocations: 1.031 kB / 1.341 GB, free: 16.09 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.023e-06/0.9353, allocations: 0 / 1.341 GB, free: 16.09 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.613e-05/0.9353, allocations: 0 / 1.341 GB, free: 16.09 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.735e-05/0.9354, allocations: 2.797 kB / 1.341 GB, free: 16.09 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.764e-05/0.9355, allocations: 5 kB / 1.341 GB, free: 16.09 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.322e-05/0.9355, allocations: 0.7969 kB / 1.341 GB, free: 16.09 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.32e-05/0.9355, allocations: 0 / 1.341 GB, free: 16.09 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.9355, allocations: 1.094 kB / 1.341 GB, free: 16.09 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.835e-06/0.9355, allocations: 4 kB / 1.341 GB, free: 16.08 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/0.9355, allocations: 5.125 kB / 1.341 GB, free: 16.08 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.89e-05/0.9355, allocations: 0 / 1.341 GB, free: 16.08 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 5.483e-05/0.9356, allocations: 1.922 kB / 1.341 GB, free: 16.08 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.9356, allocations: 0 / 1.341 GB, free: 16.08 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9356, allocations: 0 / 1.341 GB, free: 16.08 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.959e-06/0.9356, allocations: 0 / 1.341 GB, free: 16.08 MB / 1.061 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.0002256/0.9358, allocations: 311.9 kB / 1.341 GB, free: 15.73 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.9359, allocations: 9.125 kB / 1.341 GB, free: 15.73 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.476e-05/0.9359, allocations: 8.125 kB / 1.341 GB, free: 15.72 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.913e-05/0.9359, allocations: 36.89 kB / 1.341 GB, free: 15.68 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.886e-05/0.9359, allocations: 0.9375 kB / 1.341 GB, free: 15.68 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.129e-05/0.936, allocations: 165.7 kB / 1.341 GB, free: 15.48 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.936, allocations: 384 / 1.341 GB, free: 15.48 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.936, allocations: 1.688 kB / 1.341 GB, free: 15.48 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.257e-05/0.9361, allocations: 31.98 kB / 1.341 GB, free: 15.45 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.974e-06/0.9361, allocations: 0.8438 kB / 1.341 GB, free: 15.45 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.762e-06/0.9361, allocations: 0.5625 kB / 1.341 GB, free: 15.45 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.9361, allocations: 0 / 1.341 GB, free: 15.45 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.608e-05/0.9361, allocations: 6.125 kB / 1.341 GB, free: 15.44 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.291e-05/0.9362, allocations: 144.2 kB / 1.341 GB, free: 15.25 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 3.935e-05/0.9363, allocations: 24.06 kB / 1.341 GB, free: 15.22 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.089e-05/0.9363, allocations: 8.734 kB / 1.341 GB, free: 15.21 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.9363, allocations: 0 / 1.341 GB, free: 15.21 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.651e-05/0.9363, allocations: 36.12 kB / 1.341 GB, free: 15.17 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.9363, allocations: 4 kB / 1.341 GB, free: 15.17 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001121/0.9364, allocations: 35.42 kB / 1.342 GB, free: 15.13 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.9364, allocations: 53.44 kB / 1.342 GB, free: 15.07 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.61e-05/0.9365, allocations: 89.86 kB / 1.342 GB, free: 14.97 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.831e-06/0.9365, allocations: 29.7 kB / 1.342 GB, free: 14.94 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.056e-05/0.9365, allocations: 84.12 kB / 1.342 GB, free: 14.85 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.9365, allocations: 6.031 kB / 1.342 GB, free: 14.85 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.141e-05/0.9365, allocations: 11.12 kB / 1.342 GB, free: 14.83 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.378e-05/0.9366, allocations: 317.5 kB / 1.342 GB, free: 14.52 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.323e-06/0.9366, allocations: 0 / 1.342 GB, free: 14.52 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.04e-06/0.9366, allocations: 1.25 kB / 1.342 GB, free: 14.52 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.63e-05/0.9366, allocations: 12.3 kB / 1.342 GB, free: 14.5 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.9366, allocations: 0 / 1.342 GB, free: 14.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.16e-05/0.9367, allocations: 40.81 kB / 1.342 GB, free: 14.46 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.9367, allocations: 8.562 kB / 1.342 GB, free: 14.46 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.9367, allocations: 1.219 kB / 1.342 GB, free: 14.46 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.9367, allocations: 4 kB / 1.342 GB, free: 14.46 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.092e-05/0.9367, allocations: 2.719 kB / 1.342 GB, free: 14.46 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.9367, allocations: 3.984 kB / 1.342 GB, free: 14.45 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.778e-06/0.9367, allocations: 0.6094 kB / 1.342 GB, free: 14.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-06/0.9368, allocations: 5.125 kB / 1.342 GB, free: 14.45 MB / 1.061 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.423e-05/0.9368, allocations: 107.8 kB / 1.342 GB, free: 14.34 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.593e-06/0.9368, allocations: 5 kB / 1.342 GB, free: 14.33 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.477e-05/0.9368, allocations: 3.688 kB / 1.342 GB, free: 14.33 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.9368, allocations: 4.703 kB / 1.342 GB, free: 14.32 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.9368, allocations: 1.062 kB / 1.342 GB, free: 14.32 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.9368, allocations: 0 / 1.342 GB, free: 14.32 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.927e-05/0.9369, allocations: 152.7 kB / 1.342 GB, free: 14.13 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.9369, allocations: 0.5625 kB / 1.342 GB, free: 14.13 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.767e-06/0.9369, allocations: 2.469 kB / 1.342 GB, free: 14.13 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.9369, allocations: 4.594 kB / 1.342 GB, free: 14.12 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.9369, allocations: 0 / 1.342 GB, free: 14.12 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.9369, allocations: 1.281 kB / 1.342 GB, free: 14.12 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.9369, allocations: 0 / 1.342 GB, free: 14.12 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.523e-05/0.9369, allocations: 60.75 kB / 1.342 GB, free: 14.05 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.471e-05/0.937, allocations: 83.44 kB / 1.343 GB, free: 13.96 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-06/0.937, allocations: 3.938 kB / 1.343 GB, free: 13.95 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.057e-06/0.937, allocations: 6.281 kB / 1.343 GB, free: 13.95 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.579e-05/0.937, allocations: 0 / 1.343 GB, free: 13.95 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-06/0.937, allocations: 0.7031 kB / 1.343 GB, free: 13.95 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.094e-05/0.937, allocations: 76.41 kB / 1.343 GB, free: 13.88 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/0.937, allocations: 0 / 1.343 GB, free: 13.88 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002123/0.9372, allocations: 5.031 kB / 1.343 GB, free: 13.87 MB / 1.061 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.0002112/0.9374, allocations: 0.5868 MB / 1.343 GB, free: 13.27 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.323e-05/0.9375, allocations: 7.75 kB / 1.343 GB, free: 13.27 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.9375, allocations: 1.281 kB / 1.343 GB, free: 13.27 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.3e-06/0.9375, allocations: 5.688 kB / 1.343 GB, free: 13.27 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001238/0.9376, allocations: 1.156 kB / 1.343 GB, free: 13.27 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002522/0.9379, allocations: 109.7 kB / 1.343 GB, free: 13.13 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.852e-05/0.938, allocations: 0.6714 MB / 1.344 GB, free: 12.43 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.867e-06/0.938, allocations: 0 / 1.344 GB, free: 12.43 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.445e-05/0.938, allocations: 12.66 kB / 1.344 GB, free: 12.42 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.938, allocations: 0 / 1.344 GB, free: 12.42 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01676/0.9548, allocations: 0.9261 MB / 1.345 GB, free: 12.06 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.639/9.594, allocations: 13.23 kB / 1.345 GB, free: 12.05 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.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: 16.145399435947184]