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.001128/0.001129, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001205/0.001205, allocations: 189.7 kB / 16.13 MB, free: 6.645 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.319/1.319, allocations: 222.9 MB / 239.8 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.557/2.557, allocations: 461.9 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 60.11 kB / 0.8985 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2692, allocations: 157.4 MB / 1.052 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001987/0.2712, allocations: 0.6664 MB / 1.053 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 3.837e-05/0.2713, allocations: 4 kB / 1.053 GB, free: 7.605 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.495e-05/0.2713, allocations: 0 / 1.053 GB, free: 7.605 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.084e-05/0.2714, allocations: 0 / 1.053 GB, free: 7.605 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.638e-06/0.2714, allocations: 0 / 1.053 GB, free: 7.605 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.478e-05/0.2714, allocations: 0 / 1.053 GB, free: 7.605 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.7e-05/0.2715, allocations: 12 kB / 1.053 GB, free: 7.594 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.607e-05/0.2715, allocations: 3.984 kB / 1.053 GB, free: 7.59 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.296e-05/0.2716, allocations: 0 / 1.053 GB, free: 7.59 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.692e-05/0.2716, allocations: 0 / 1.053 GB, free: 7.59 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.2716, allocations: 0 / 1.053 GB, free: 7.59 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.005e-06/0.2716, allocations: 0 / 1.053 GB, free: 7.59 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.09e-05/0.2716, allocations: 4 kB / 1.053 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.862e-05/0.2716, allocations: 0 / 1.053 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 4.559e-05/0.2717, allocations: 7.984 kB / 1.053 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.2717, allocations: 0 / 1.053 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.61e-07/0.2717, allocations: 0 / 1.053 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.2717, allocations: 0 / 1.053 GB, free: 7.578 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.0002389/0.272, allocations: 307.6 kB / 1.053 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.272, allocations: 11.97 kB / 1.053 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.44e-05/0.272, allocations: 38.69 kB / 1.053 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.929e-05/0.2721, allocations: 4.875 kB / 1.053 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.771e-05/0.2722, allocations: 168.4 kB / 1.053 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.876e-06/0.2722, allocations: 384 / 1.053 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.2722, allocations: 4.375 kB / 1.053 GB, free: 6.957 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.844e-05/0.2723, allocations: 26.27 kB / 1.053 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.2723, allocations: 3.938 kB / 1.053 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-06/0.2723, allocations: 0 / 1.053 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2723, allocations: 0 / 1.053 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.932e-05/0.2723, allocations: 4 kB / 1.053 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001147/0.2725, allocations: 149.6 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.597e-05/0.2725, allocations: 22.52 kB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.705e-05/0.2725, allocations: 12.94 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.925e-06/0.2725, allocations: 0 / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.2726, allocations: 34.56 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.2726, allocations: 0 / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001133/0.2727, allocations: 37.64 kB / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.2727, allocations: 63.47 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.917e-05/0.2728, allocations: 89.86 kB / 1.054 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.2728, allocations: 25.7 kB / 1.054 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 1.983e-05/0.2728, allocations: 80.14 kB / 1.054 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.2728, allocations: 0 / 1.054 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/0.2729, allocations: 9.719 kB / 1.054 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.248e-05/0.273, allocations: 318.8 kB / 1.054 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.085e-06/0.273, allocations: 0 / 1.054 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.441e-06/0.273, allocations: 4 kB / 1.054 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.648e-05/0.273, allocations: 12.86 kB / 1.054 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.273, allocations: 0 / 1.054 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.828e-05/0.2731, allocations: 33.64 kB / 1.054 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.2731, allocations: 4 kB / 1.054 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/0.2731, allocations: 7.938 kB / 1.054 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.2731, allocations: 0 / 1.054 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.843e-05/0.2732, allocations: 0 / 1.054 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.2732, allocations: 0 / 1.054 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.045e-05/0.2732, allocations: 4.094 kB / 1.054 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.2732, allocations: 4 kB / 1.054 GB, free: 5.891 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.953e-05/0.2733, allocations: 113.8 kB / 1.054 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.091e-06/0.2733, allocations: 3.938 kB / 1.054 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.67e-05/0.2733, allocations: 11.06 kB / 1.054 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.2733, allocations: 0 / 1.054 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2733, allocations: 0 / 1.054 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.2733, allocations: 0 / 1.054 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.863e-05/0.2734, allocations: 146 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2734, allocations: 7.984 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.137e-05/0.2734, allocations: 0 / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2734, allocations: 0 / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.2735, allocations: 3.938 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2735, allocations: 0 / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.2735, allocations: 4 kB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.674e-05/0.2735, allocations: 57.08 kB / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.707e-05/0.2736, allocations: 77.11 kB / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.2736, allocations: 11.95 kB / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.943e-06/0.2736, allocations: 3.938 kB / 1.055 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.202e-05/0.2736, allocations: 7.984 kB / 1.055 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-06/0.2736, allocations: 0 / 1.055 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.151e-05/0.2736, allocations: 75.28 kB / 1.055 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2737, allocations: 0 / 1.055 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002045/0.2739, allocations: 0 / 1.055 GB, free: 5.285 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.0002911/0.2742, allocations: 0.5968 MB / 1.055 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.05e-05/0.2742, allocations: 7.938 kB / 1.055 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2742, allocations: 0 / 1.055 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.251e-06/0.2742, allocations: 4 kB / 1.055 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/0.2744, allocations: 5.188 kB / 1.055 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002715/0.2747, allocations: 112.4 kB / 1.055 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001898/0.2749, allocations: 0.677 MB / 1.056 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.266e-05/0.2749, allocations: 0 / 1.056 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.62e-05/0.2749, allocations: 7.438 kB / 1.056 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of SimCode: time 4.21e-07/0.2749, allocations: 0 / 1.056 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7019/0.9768, allocations: 0.7531 MB / 1.057 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002246/0.9771, allocations: 204.7 kB / 1.057 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.064/3.041, allocations: 0 / 1.057 GB, free: 2.852 MB / 0.8106 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