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.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Examples_ModelTime",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.0009097/0.0009099, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005814/0.005814, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.351/1.351, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.574/2.574, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003347, allocations: 10.19 kB / 0.9029 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2602, allocations: 159.6 MB / 1.059 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.0006585/0.2609, allocations: 327.5 kB / 1.059 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 3.61e-05/0.2609, allocations: 4 kB / 1.059 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.21e-05/0.261, allocations: 4 kB / 1.059 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.294e-05/0.261, allocations: 0 / 1.059 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.911e-06/0.261, allocations: 0 / 1.059 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.029e-05/0.261, allocations: 7.875 kB / 1.059 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.82e-05/0.2611, allocations: 4 kB / 1.059 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.391e-05/0.2611, allocations: 4 kB / 1.059 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.195e-05/0.2612, allocations: 0 / 1.059 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.588e-05/0.2612, allocations: 4 kB / 1.059 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.348e-06/0.2612, allocations: 0 / 1.059 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.366e-06/0.2612, allocations: 0 / 1.059 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.006e-05/0.2612, allocations: 0 / 1.059 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.945e-05/0.2612, allocations: 25.7 kB / 1.059 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 4.525e-05/0.2613, allocations: 7.922 kB / 1.059 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.2613, allocations: 4 kB / 1.059 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2613, allocations: 0 / 1.059 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.2613, allocations: 0 / 1.059 GB, free: 4.535 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.0002651/0.2616, allocations: 311.6 kB / 1.059 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.2616, allocations: 11.97 kB / 1.059 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.198e-05/0.2617, allocations: 30.75 kB / 1.059 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.139e-05/0.2617, allocations: 0.9375 kB / 1.059 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.136e-05/0.2618, allocations: 160.4 kB / 1.06 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.2618, allocations: 4.375 kB / 1.06 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.2618, allocations: 384 / 1.06 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.404e-05/0.2619, allocations: 30.25 kB / 1.06 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.262, allocations: 7.938 kB / 1.06 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.262, allocations: 3.938 kB / 1.06 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.262, allocations: 0 / 1.06 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.075e-05/0.262, allocations: 8 kB / 1.06 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001293/0.2621, allocations: 145.7 kB / 1.06 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.937e-05/0.2622, allocations: 14.58 kB / 1.06 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.351e-05/0.2622, allocations: 8.953 kB / 1.06 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.2622, allocations: 4 kB / 1.06 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.2623, allocations: 38.55 kB / 1.06 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 7.12e-07/0.2623, allocations: 0 / 1.06 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001202/0.2624, allocations: 41.58 kB / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.2624, allocations: 51.41 kB / 1.06 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.637e-05/0.2625, allocations: 89.86 kB / 1.06 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.2625, allocations: 25.7 kB / 1.06 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.393e-05/0.2625, allocations: 80.14 kB / 1.06 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.2626, allocations: 8.109 kB / 1.06 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.439e-05/0.2626, allocations: 9.719 kB / 1.06 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.2627, allocations: 318.8 kB / 1.06 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.084e-06/0.2627, allocations: 4 kB / 1.06 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.178e-06/0.2627, allocations: 0 / 1.06 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.741e-05/0.2627, allocations: 16.78 kB / 1.061 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2628, allocations: 3.938 kB / 1.061 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.638e-05/0.2628, allocations: 29.8 kB / 1.061 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.2628, allocations: 9.719 kB / 1.061 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2628, allocations: 7.875 kB / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.2629, allocations: 4 kB / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.881e-05/0.2629, allocations: 0 / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.2629, allocations: 0 / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.014e-05/0.2629, allocations: 0 / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-06/0.2629, allocations: 0 / 1.061 GB, free: 2.852 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 7.119e-05/0.263, allocations: 113.8 kB / 1.061 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-06/0.263, allocations: 3.984 kB / 1.061 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.559e-05/0.2631, allocations: 11.06 kB / 1.061 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.2631, allocations: 0 / 1.061 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.2631, allocations: 0 / 1.061 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2631, allocations: 0 / 1.061 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.427e-05/0.2632, allocations: 142 kB / 1.061 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2632, allocations: 4 kB / 1.061 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.757e-06/0.2632, allocations: 0 / 1.061 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.2632, allocations: 0 / 1.061 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.2632, allocations: 11.86 kB / 1.061 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.2632, allocations: 0 / 1.061 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2632, allocations: 0 / 1.061 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.257e-05/0.2633, allocations: 61.14 kB / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.132e-05/0.2633, allocations: 77.11 kB / 1.061 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.2633, allocations: 3.938 kB / 1.061 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.084e-06/0.2633, allocations: 0 / 1.061 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.246e-05/0.2634, allocations: 7.969 kB / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-06/0.2634, allocations: 4 kB / 1.061 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.748e-05/0.2634, allocations: 75.31 kB / 1.061 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2634, allocations: 4 kB / 1.061 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001845/0.2636, allocations: 0 / 1.061 GB, free: 2.25 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.0002844/0.2639, allocations: 0.5928 MB / 1.062 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 5.493e-05/0.2639, allocations: 7.984 kB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.264, allocations: 4.094 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.351e-05/0.264, allocations: 4 kB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.2641, allocations: 4 kB / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000245/0.2644, allocations: 104.3 kB / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001774/0.2646, allocations: 0.6731 MB / 1.062 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.035e-05/0.2646, allocations: 0 / 1.062 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.341e-05/0.2646, allocations: 15.38 kB / 1.062 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of SimCode: time 4.51e-07/0.2646, allocations: 0 / 1.062 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3909/0.6555, allocations: 0.6982 MB / 1.063 GB, free: 168 kB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/0.6558, allocations: 198.3 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.578/2.234, allocations: 3.938 kB / 1.063 GB, free: 15.9 MB / 0.8262 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) 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) "" Variables in the reference:time,modTim.y Variables in the result:modTim.y,time