Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001966/0.001966, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.002477/0.002477, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.525/1.525, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.891/2.891, allocations: 0.49 GB / 0.7923 GB, free: 1.504 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_12_Buildings_Utilities_Time_Examples_ModelTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_12_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.002105/0.002105, allocations: 67.91 kB / 1.149 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.95/0.9521, allocations: 176.1 MB / 1.321 GB, free: 24.78 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001731/0.9539, allocations: 0.5961 MB / 1.322 GB, free: 24.41 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 4.62e-05/0.9539, allocations: 11.17 kB / 1.322 GB, free: 24.4 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.961e-05/0.9539, allocations: 0 / 1.322 GB, free: 24.4 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.034e-05/0.954, allocations: 0 / 1.322 GB, free: 24.4 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.672e-06/0.954, allocations: 0 / 1.322 GB, free: 24.4 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.784e-05/0.954, allocations: 2.156 kB / 1.322 GB, free: 24.4 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.865e-05/0.9541, allocations: 0 / 1.322 GB, free: 24.4 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.656e-05/0.9541, allocations: 6.719 kB / 1.322 GB, free: 24.4 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.845e-05/0.9542, allocations: 0 / 1.322 GB, free: 24.4 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.185e-05/0.9542, allocations: 0 / 1.322 GB, free: 24.4 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.9542, allocations: 0 / 1.322 GB, free: 24.4 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.566e-06/0.9542, allocations: 0 / 1.322 GB, free: 24.4 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.314e-05/0.9542, allocations: 0 / 1.322 GB, free: 24.4 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.287e-05/0.9542, allocations: 2.906 kB / 1.322 GB, free: 24.4 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 6.5e-05/0.9543, allocations: 0 / 1.322 GB, free: 24.4 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.902e-06/0.9543, allocations: 4 kB / 1.322 GB, free: 24.39 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.794e-06/0.9543, allocations: 0 / 1.322 GB, free: 24.39 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.9543, allocations: 3.938 kB / 1.322 GB, free: 24.39 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.0002672/0.9546, allocations: 315.8 kB / 1.322 GB, free: 24.04 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.9546, allocations: 13.86 kB / 1.322 GB, free: 24.04 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.305e-05/0.9547, allocations: 192 / 1.322 GB, free: 24.04 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.253e-05/0.9547, allocations: 30.75 kB / 1.322 GB, free: 24 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.386e-05/0.9547, allocations: 0.9375 kB / 1.322 GB, free: 24 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.967e-05/0.9548, allocations: 170.5 kB / 1.323 GB, free: 23.8 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.9548, allocations: 384 / 1.323 GB, free: 23.8 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.204e-06/0.9548, allocations: 384 / 1.323 GB, free: 23.8 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.9549, allocations: 40.45 kB / 1.323 GB, free: 23.75 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.9549, allocations: 0 / 1.323 GB, free: 23.75 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.9549, allocations: 4 kB / 1.323 GB, free: 23.75 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.9549, allocations: 0 / 1.323 GB, free: 23.75 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.048e-05/0.955, allocations: 2.625 kB / 1.323 GB, free: 23.75 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000126/0.9551, allocations: 141.7 kB / 1.323 GB, free: 23.56 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.36e-05/0.9551, allocations: 24.22 kB / 1.323 GB, free: 23.54 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.461e-05/0.9552, allocations: 11.08 kB / 1.323 GB, free: 23.52 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.9552, allocations: 4 kB / 1.323 GB, free: 23.52 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.9552, allocations: 34.5 kB / 1.323 GB, free: 23.48 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.9552, allocations: 0 / 1.323 GB, free: 23.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001331/0.9553, allocations: 31.02 kB / 1.323 GB, free: 23.45 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.9554, allocations: 51.41 kB / 1.323 GB, free: 23.38 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.516e-05/0.9554, allocations: 96.23 kB / 1.323 GB, free: 23.28 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.9554, allocations: 28.89 kB / 1.323 GB, free: 23.25 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.8e-05/0.9554, allocations: 88.25 kB / 1.323 GB, free: 23.16 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.9555, allocations: 3.953 kB / 1.323 GB, free: 23.16 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.72e-05/0.9555, allocations: 16.22 kB / 1.323 GB, free: 23.14 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.98e-05/0.9555, allocations: 310.8 kB / 1.323 GB, free: 22.82 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.957e-06/0.9556, allocations: 0 / 1.323 GB, free: 22.82 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.989e-06/0.9556, allocations: 2.531 kB / 1.323 GB, free: 22.82 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.326e-05/0.9556, allocations: 7.828 kB / 1.323 GB, free: 22.82 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.9556, allocations: 0 / 1.323 GB, free: 22.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.439e-05/0.9556, allocations: 46.44 kB / 1.323 GB, free: 22.77 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.9556, allocations: 9.188 kB / 1.323 GB, free: 22.77 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.9556, allocations: 0 / 1.323 GB, free: 22.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.9557, allocations: 0 / 1.323 GB, free: 22.77 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.078e-05/0.9557, allocations: 10.75 kB / 1.323 GB, free: 22.76 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.9557, allocations: 0 / 1.323 GB, free: 22.76 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.073e-05/0.9558, allocations: 0 / 1.323 GB, free: 22.76 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.9558, allocations: 0 / 1.323 GB, free: 22.76 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 5.97e-05/0.9558, allocations: 110.4 kB / 1.324 GB, free: 22.65 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.512e-06/0.9558, allocations: 7.969 kB / 1.324 GB, free: 22.64 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.247e-05/0.9558, allocations: 6.547 kB / 1.324 GB, free: 22.64 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.31e-07/0.9558, allocations: 0 / 1.324 GB, free: 22.64 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.9559, allocations: 0 / 1.324 GB, free: 22.64 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.9559, allocations: 2.531 kB / 1.324 GB, free: 22.64 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.033e-05/0.9559, allocations: 145.7 kB / 1.324 GB, free: 22.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.9559, allocations: 0 / 1.324 GB, free: 22.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.057e-06/0.9559, allocations: 2.719 kB / 1.324 GB, free: 22.45 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.9559, allocations: 3.938 kB / 1.324 GB, free: 22.44 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-06/0.9559, allocations: 3.328 kB / 1.324 GB, free: 22.44 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.9559, allocations: 7.938 kB / 1.324 GB, free: 22.43 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.9559, allocations: 0 / 1.324 GB, free: 22.43 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.977e-05/0.956, allocations: 61.39 kB / 1.324 GB, free: 22.36 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.638e-05/0.956, allocations: 77.11 kB / 1.324 GB, free: 22.27 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.956, allocations: 7.266 kB / 1.324 GB, free: 22.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.223e-06/0.9561, allocations: 0 / 1.324 GB, free: 22.27 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.124e-05/0.9561, allocations: 0 / 1.324 GB, free: 22.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-06/0.9561, allocations: 2.25 kB / 1.324 GB, free: 22.27 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.914e-05/0.9561, allocations: 79.31 kB / 1.324 GB, free: 22.19 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.9561, allocations: 0 / 1.324 GB, free: 22.19 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002023/0.9563, allocations: 4 kB / 1.324 GB, free: 22.18 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.0003017/0.9566, allocations: 0.5884 MB / 1.325 GB, free: 21.59 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.123e-05/0.9567, allocations: 13.34 kB / 1.325 GB, free: 21.58 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.9567, allocations: 0 / 1.325 GB, free: 21.58 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.012e-06/0.9567, allocations: 2.594 kB / 1.325 GB, free: 21.58 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.9568, allocations: 0 / 1.325 GB, free: 21.58 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003369/0.9572, allocations: 103.5 kB / 1.325 GB, free: 21.45 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.9573, allocations: 0.6714 MB / 1.325 GB, free: 20.75 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.284e-05/0.9573, allocations: 0 / 1.325 GB, free: 20.75 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.648e-05/0.9574, allocations: 7.438 kB / 1.325 GB, free: 20.75 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.9574, allocations: 4.125 kB / 1.325 GB, free: 20.74 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01698/0.9743, allocations: 0.935 MB / 1.326 GB, free: 20.36 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.56/9.534, allocations: 8.344 kB / 1.326 GB, free: 20.35 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Time.Examples.ModelTime_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.143561660021078]