Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Examples_Table",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.001526/0.001526, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001936/0.001936, allocations: 194 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.441/2.441, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.317/3.317, allocations: 461.9 MB / 0.7343 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 70.5 kB / 0.8987 GB, free: 37.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3157, allocations: 157.4 MB / 1.052 GB, free: 8.691 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003415/0.3192, allocations: 1.719 MB / 1.054 GB, free: 6.957 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009739/0.3202, allocations: 0.5108 MB / 1.055 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.617e-05/0.3203, allocations: 0 / 1.055 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005633/0.3209, allocations: 180.5 kB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003962/0.3213, allocations: 142.1 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004493/0.3218, allocations: 190.3 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002782/0.3221, allocations: 203.5 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.3222, allocations: 33.83 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.3224, allocations: 83.67 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002267/0.3226, allocations: 155.6 kB / 1.056 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.724e-05/0.3226, allocations: 15.94 kB / 1.056 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.558e-05/0.3227, allocations: 40 kB / 1.056 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.065e-05/0.3228, allocations: 83.73 kB / 1.056 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.959e-05/0.3229, allocations: 95.28 kB / 1.056 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003033/0.3233, allocations: 259.1 kB / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3233, allocations: 0 / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3233, allocations: 0 / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.3233, allocations: 4 kB / 1.056 GB, free: 5 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007967/0.3241, allocations: 0.5836 MB / 1.057 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.3241, allocations: 16.62 kB / 1.057 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.972e-05/0.3242, allocations: 30.75 kB / 1.057 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.093e-05/0.3243, allocations: 28.56 kB / 1.057 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004576/0.3247, allocations: 378.3 kB / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.3247, allocations: 8.312 kB / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.3248, allocations: 384 / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.325, allocations: 81.53 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.325, allocations: 0 / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.325, allocations: 0 / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.325, allocations: 0 / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001893/0.3252, allocations: 59.94 kB / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005145/0.3257, allocations: 424.6 kB / 1.058 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.3259, allocations: 54.55 kB / 1.058 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.638e-05/0.326, allocations: 20.91 kB / 1.058 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.326, allocations: 4 kB / 1.058 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.3261, allocations: 34.56 kB / 1.058 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 2.495e-06/0.3261, allocations: 0 / 1.058 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0003908/0.3265, allocations: 125.2 kB / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.3265, allocations: 51.41 kB / 1.058 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005316/0.327, allocations: 0.5132 MB / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.3271, allocations: 25.7 kB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.3272, allocations: 172 kB / 1.059 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.3272, allocations: 7.844 kB / 1.059 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/0.3272, allocations: 17.72 kB / 1.059 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.3274, allocations: 342.8 kB / 1.059 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.975e-05/0.3274, allocations: 19.97 kB / 1.059 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.947e-05/0.3275, allocations: 19.98 kB / 1.059 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.3277, allocations: 48.75 kB / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3277, allocations: 0 / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002269/0.328, allocations: 101.3 kB / 1.059 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.328, allocations: 8 kB / 1.059 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.328, allocations: 3.984 kB / 1.059 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.328, allocations: 0 / 1.059 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.826e-05/0.3281, allocations: 11.98 kB / 1.059 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.3281, allocations: 0 / 1.059 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.367e-05/0.3282, allocations: 7.938 kB / 1.059 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.3282, allocations: 0 / 1.059 GB, free: 1.613 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 (3): * Single equations (assignments): 3 * 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 0.0001374/0.3284, allocations: 171.1 kB / 1.059 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.325e-05/0.3284, allocations: 31.62 kB / 1.059 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002782/0.3287, allocations: 112 kB / 1.059 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3287, allocations: 3.938 kB / 1.059 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.3287, allocations: 7.984 kB / 1.059 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3287, allocations: 3.938 kB / 1.059 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.329, allocations: 257.5 kB / 1.06 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.329, allocations: 4 kB / 1.06 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.284e-05/0.3291, allocations: 11.98 kB / 1.06 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.3291, allocations: 4 kB / 1.06 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.3291, allocations: 0 / 1.06 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3291, allocations: 0 / 1.06 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3291, allocations: 0 / 1.06 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002636/0.3294, allocations: 203.4 kB / 1.06 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.372e-05/0.3294, allocations: 112.7 kB / 1.06 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.3295, allocations: 7.938 kB / 1.06 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.898e-05/0.3296, allocations: 4 kB / 1.06 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.3296, allocations: 11.92 kB / 1.06 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.3296, allocations: 4 kB / 1.06 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00036/0.33, allocations: 383.1 kB / 1.06 GB, free: 208 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.33, allocations: 0 / 1.06 GB, free: 208 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002638/0.3303, allocations: 28 kB / 1.06 GB, free: 180 kB / 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 (3): * Single equations (assignments): 3 * 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.001205/0.3315, allocations: 0.958 MB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002437/0.3318, allocations: 51.89 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3318, allocations: 0 / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.612e-05/0.3319, allocations: 19.98 kB / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/0.3323, allocations: 50.53 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002953/0.3353, allocations: 2.644 MB / 1.064 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.3356, allocations: 0.7788 MB / 1.065 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001027/0.3357, allocations: 41.88 kB / 1.065 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.3358, allocations: 83.41 kB / 1.065 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.3358, allocations: 0 / 1.065 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5183/0.8542, allocations: 4.802 MB / 1.07 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003821/0.8546, allocations: 242.9 kB / 1.07 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.53/4.385, allocations: 0 / 1.07 GB, free: 6.613 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.SetPoints.Examples.Table_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_SetPoints_Examples_Table_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_SetPoints_Examples_Table.fmu > Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.Table_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_Table.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches