Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.Comfort.Examples.Fanger,fileNamePrefix="Buildings_11_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_11_Buildings_Utilities_Comfort_Examples_Fanger",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.008008/0.008009, allocations: 96.84 kB / 15.73 MB, free: 6.039 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.002161/0.002161, allocations: 204.7 kB / 16.68 MB, free: 5.961 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.477/1.477, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.892/2.892, allocations: 469.8 MB / 0.7425 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 76.09 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2904, allocations: 159.1 MB / 1.22 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003531/0.294, allocations: 2.32 MB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.706/1, allocations: 152 MB / 1.371 GB, free: 12.23 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002196/1, allocations: 2.844 kB / 1.371 GB, free: 12.23 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002104/1.001, allocations: 46.64 kB / 1.371 GB, free: 12.2 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003997/1.001, allocations: 109 kB / 1.371 GB, free: 12.12 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008557/1.002, allocations: 305.4 kB / 1.371 GB, free: 11.96 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005173/1.002, allocations: 428.8 kB / 1.372 GB, free: 11.77 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002257/1.003, allocations: 107.1 kB / 1.372 GB, free: 11.71 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001488/1.004, allocations: 277.3 kB / 1.372 GB, free: 11.63 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003142/1.004, allocations: 185 kB / 1.372 GB, free: 11.55 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.552e-05/1.004, allocations: 29.81 kB / 1.372 GB, free: 11.55 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005945/1.005, allocations: 276.9 kB / 1.373 GB, free: 11.48 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001015/1.005, allocations: 83.84 kB / 1.373 GB, free: 11.43 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001984/1.005, allocations: 161.1 kB / 1.373 GB, free: 11.34 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0007313/1.006, allocations: 498.4 kB / 1.373 GB, free: 11.15 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/1.006, allocations: 1.469 kB / 1.373 GB, free: 11.15 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.433e-06/1.006, allocations: 0 / 1.373 GB, free: 11.15 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.898e-06/1.006, allocations: 0 / 1.373 GB, free: 11.15 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001604/1.008, allocations: 0.719 MB / 1.374 GB, free: 10.61 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/1.008, allocations: 14.66 kB / 1.374 GB, free: 10.6 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.543e-05/1.008, allocations: 64.83 kB / 1.374 GB, free: 10.54 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002875/1.011, allocations: 262.9 kB / 1.374 GB, free: 10.5 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004466/1.011, allocations: 304.6 kB / 1.375 GB, free: 10.24 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/1.011, allocations: 19.44 kB / 1.375 GB, free: 10.23 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.431e-05/1.011, allocations: 27.12 kB / 1.375 GB, free: 10.23 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/1.013, allocations: 435.8 kB / 1.375 GB, free: 10.08 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/1.013, allocations: 0 / 1.375 GB, free: 10.08 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.834e-05/1.013, allocations: 13.08 kB / 1.375 GB, free: 10.07 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/1.013, allocations: 10.44 kB / 1.375 GB, free: 10.07 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002455/1.015, allocations: 0.5227 MB / 1.376 GB, free: 9.922 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003121/1.019, allocations: 1.151 MB / 1.377 GB, free: 9.27 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002415/1.021, allocations: 465 kB / 1.377 GB, free: 9.031 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001146/1.022, allocations: 227.6 kB / 1.377 GB, free: 8.918 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.252e-05/1.022, allocations: 3.438 kB / 1.377 GB, free: 8.918 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/1.022, allocations: 35.72 kB / 1.377 GB, free: 8.875 MB / 1.076 GB Notification: Performance of pre-optimization done (n=25): time 1.894e-06/1.022, allocations: 0 / 1.377 GB, free: 8.875 MB / 1.076 GB Notification: Performance of matching and sorting (n=25): time 0.01677/1.039, allocations: 1.729 MB / 1.379 GB, free: 7.938 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/1.039, allocations: 58.17 kB / 1.379 GB, free: 7.871 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003935/1.04, allocations: 301.5 kB / 1.379 GB, free: 7.668 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.973e-05/1.04, allocations: 31.17 kB / 1.379 GB, free: 7.633 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/1.04, allocations: 177.4 kB / 1.38 GB, free: 7.469 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.000113/1.04, allocations: 93.36 kB / 1.38 GB, free: 7.387 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001797/1.04, allocations: 72.17 kB / 1.38 GB, free: 7.332 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001635/1.04, allocations: 341.1 kB / 1.38 GB, free: 6.996 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/1.041, allocations: 206.3 kB / 1.38 GB, free: 6.895 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/1.043, allocations: 261 kB / 1.381 GB, free: 6.73 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002232/1.045, allocations: 433 kB / 1.381 GB, free: 6.508 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.045, allocations: 0 / 1.381 GB, free: 6.508 MB / 1.076 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00739/1.052, allocations: 0.8969 MB / 1.382 GB, free: 6.047 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/1.052, allocations: 5.656 kB / 1.382 GB, free: 6.047 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/1.052, allocations: 1.312 kB / 1.382 GB, free: 6.047 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001969/1.054, allocations: 275 kB / 1.382 GB, free: 5.906 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004726/1.055, allocations: 65.69 kB / 1.382 GB, free: 5.887 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01526/1.07, allocations: 4.097 MB / 1.386 GB, free: 2.316 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009306/1.071, allocations: 76.41 kB / 1.386 GB, free: 2.273 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.739e-05/1.071, allocations: 19.81 kB / 1.386 GB, free: 2.262 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002204/1.071, allocations: 143 kB / 1.386 GB, free: 2.125 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.274e-05/1.071, allocations: 38.12 kB / 1.386 GB, free: 2.102 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00767/1.079, allocations: 0.9579 MB / 1.387 GB, free: 1.566 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/1.079, allocations: 3.375 kB / 1.387 GB, free: 1.566 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/1.079, allocations: 0 / 1.387 GB, free: 1.566 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/1.079, allocations: 1.25 kB / 1.387 GB, free: 1.566 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005837/1.08, allocations: 430.4 kB / 1.388 GB, free: 1.18 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/1.08, allocations: 0 / 1.388 GB, free: 1.18 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004109/1.08, allocations: 54.2 kB / 1.388 GB, free: 1.164 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001919/1.082, allocations: 281.6 kB / 1.388 GB, free: 1.016 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.487e-05/1.082, allocations: 16.47 kB / 1.388 GB, free: 1.004 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01538/1.097, allocations: 4.078 MB / 1.392 GB, free: 13.43 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/1.097, allocations: 3.984 kB / 1.392 GB, free: 13.43 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007503/1.105, allocations: 0.9606 MB / 1.393 GB, free: 12.88 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/1.105, allocations: 109.3 kB / 1.393 GB, free: 12.76 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.716e-05/1.105, allocations: 12.95 kB / 1.393 GB, free: 12.75 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007833/1.106, allocations: 45.11 kB / 1.393 GB, free: 12.73 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.542e-05/1.106, allocations: 12.73 kB / 1.393 GB, free: 12.73 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.111e-05/1.106, allocations: 23.59 kB / 1.393 GB, free: 12.71 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002594/1.106, allocations: 221.7 kB / 1.393 GB, free: 12.57 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.4e-07/1.106, allocations: 0 / 1.393 GB, free: 12.57 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00061/1.107, allocations: 122.5 kB / 1.394 GB, free: 12.55 MB / 1.092 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007909/1.115, allocations: 1.514 MB / 1.395 GB, free: 11.46 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002987/1.118, allocations: 0.7324 MB / 1.396 GB, free: 10.98 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/1.118, allocations: 4.125 kB / 1.396 GB, free: 10.97 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001664/1.12, allocations: 0.5029 MB / 1.396 GB, free: 10.6 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006939/1.12, allocations: 113.2 kB / 1.396 GB, free: 10.54 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02022/1.141, allocations: 4.382 MB / 1.401 GB, free: 7.711 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/1.141, allocations: 0.7685 MB / 1.401 GB, free: 6.973 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0004483/1.141, allocations: 78.97 kB / 1.401 GB, free: 6.922 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000228/1.142, allocations: 100.2 kB / 1.402 GB, free: 6.844 MB / 1.092 GB Notification: Performance of SimCode: time 7.01e-07/1.142, allocations: 0 / 1.402 GB, free: 6.844 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04814/1.19, allocations: 16.66 MB / 1.418 GB, free: 10.39 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/14.01, allocations: 1.406 kB / 1.418 GB, free: 10.39 MB / 1.107 GB (rm -f Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches