Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_10_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.007067/0.007067, allocations: 98.86 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.001564/0.001564, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.595/2.595, allocations: 437 MB / 0.7105 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 59.91 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.266, allocations: 151.6 MB / 1.166 GB, free: 7.336 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003644/0.2697, allocations: 2.318 MB / 1.168 GB, free: 4.996 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.73/0.9997, allocations: 152 MB / 1.317 GB, free: 11.88 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003069/1, allocations: 6.625 kB / 1.317 GB, free: 11.87 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002109/1, allocations: 46.5 kB / 1.317 GB, free: 11.84 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003942/1.001, allocations: 100.3 kB / 1.317 GB, free: 11.78 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009512/1.002, allocations: 298.8 kB / 1.317 GB, free: 11.71 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005063/1.002, allocations: 428.9 kB / 1.318 GB, free: 11.62 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002224/1.002, allocations: 119 kB / 1.318 GB, free: 11.6 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001317/1.004, allocations: 278 kB / 1.318 GB, free: 11.57 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002785/1.004, allocations: 180 kB / 1.318 GB, free: 11.54 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.891e-05/1.004, allocations: 34.61 kB / 1.318 GB, free: 11.53 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006197/1.005, allocations: 284.9 kB / 1.319 GB, free: 11.5 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.379e-05/1.005, allocations: 79.77 kB / 1.319 GB, free: 11.49 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000177/1.005, allocations: 169 kB / 1.319 GB, free: 11.44 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007413/1.006, allocations: 0.4916 MB / 1.319 GB, free: 11.34 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/1.006, allocations: 0 / 1.319 GB, free: 11.34 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.843e-06/1.006, allocations: 1.062 kB / 1.319 GB, free: 11.34 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.229e-05/1.006, allocations: 0 / 1.319 GB, free: 11.34 MB / 1.014 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.001522/1.007, allocations: 0.7124 MB / 1.32 GB, free: 10.84 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/1.007, allocations: 8.562 kB / 1.32 GB, free: 10.84 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.59e-05/1.008, allocations: 67.66 kB / 1.32 GB, free: 10.8 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00295/1.01, allocations: 257.6 kB / 1.32 GB, free: 10.77 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004591/1.011, allocations: 310.8 kB / 1.321 GB, free: 10.53 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/1.011, allocations: 19.31 kB / 1.321 GB, free: 10.53 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.096e-05/1.011, allocations: 27.58 kB / 1.321 GB, free: 10.53 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/1.013, allocations: 429.9 kB / 1.321 GB, free: 10.48 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/1.013, allocations: 0.7969 kB / 1.321 GB, free: 10.48 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.826e-05/1.013, allocations: 8.969 kB / 1.321 GB, free: 10.48 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/1.013, allocations: 10.62 kB / 1.321 GB, free: 10.48 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002414/1.015, allocations: 0.5284 MB / 1.322 GB, free: 10.46 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003239/1.018, allocations: 1.135 MB / 1.323 GB, free: 10.07 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00246/1.021, allocations: 459 kB / 1.323 GB, free: 9.926 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001139/1.022, allocations: 230.2 kB / 1.323 GB, free: 9.852 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.207e-05/1.022, allocations: 8.922 kB / 1.323 GB, free: 9.848 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/1.022, allocations: 35.94 kB / 1.323 GB, free: 9.805 MB / 1.014 GB Notification: Performance of pre-optimization done (n=25): time 2.024e-06/1.022, allocations: 0 / 1.323 GB, free: 9.805 MB / 1.014 GB Notification: Performance of matching and sorting (n=25): time 0.01703/1.039, allocations: 1.73 MB / 1.325 GB, free: 9.281 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/1.039, allocations: 60.03 kB / 1.325 GB, free: 9.215 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000468/1.04, allocations: 300.5 kB / 1.325 GB, free: 9.055 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.549e-05/1.04, allocations: 30.83 kB / 1.325 GB, free: 9.02 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000159/1.04, allocations: 171.5 kB / 1.326 GB, free: 8.871 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/1.04, allocations: 93.66 kB / 1.326 GB, free: 8.797 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002038/1.04, allocations: 75.11 kB / 1.326 GB, free: 8.762 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001633/1.041, allocations: 348.6 kB / 1.326 GB, free: 8.43 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/1.042, allocations: 200.9 kB / 1.326 GB, free: 8.375 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/1.043, allocations: 263 kB / 1.327 GB, free: 8.254 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00223/1.045, allocations: 429 kB / 1.327 GB, free: 8.098 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/1.045, allocations: 1.25 kB / 1.327 GB, free: 8.098 MB / 1.014 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00745/1.053, allocations: 0.8961 MB / 1.328 GB, free: 7.848 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/1.053, allocations: 6.391 kB / 1.328 GB, free: 7.848 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/1.053, allocations: 1.469 kB / 1.328 GB, free: 7.848 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002051/1.055, allocations: 281.3 kB / 1.328 GB, free: 7.785 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005396/1.055, allocations: 60.44 kB / 1.328 GB, free: 7.785 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01522/1.07, allocations: 4.106 MB / 1.332 GB, free: 4.699 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009041/1.071, allocations: 74.8 kB / 1.332 GB, free: 4.668 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-05/1.071, allocations: 25.94 kB / 1.332 GB, free: 4.66 MB / 1.014 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.0002497/1.072, allocations: 144.8 kB / 1.332 GB, free: 4.523 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/1.072, allocations: 30.25 kB / 1.332 GB, free: 4.508 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007622/1.079, allocations: 0.9532 MB / 1.333 GB, free: 4.227 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/1.079, allocations: 2.469 kB / 1.333 GB, free: 4.227 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/1.079, allocations: 1.5 kB / 1.333 GB, free: 4.227 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.056e-06/1.079, allocations: 2.531 kB / 1.333 GB, free: 4.227 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006433/1.08, allocations: 426.3 kB / 1.334 GB, free: 3.93 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/1.08, allocations: 0 / 1.334 GB, free: 3.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000418/1.081, allocations: 53.69 kB / 1.334 GB, free: 3.926 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00189/1.082, allocations: 289 kB / 1.334 GB, free: 3.855 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.269e-05/1.083, allocations: 14.47 kB / 1.334 GB, free: 3.852 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01511/1.098, allocations: 4.074 MB / 1.338 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.098, allocations: 0 / 1.338 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007488/1.105, allocations: 0.9628 MB / 1.339 GB, free: 452 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002193/1.105, allocations: 111.7 kB / 1.339 GB, free: 332 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/1.106, allocations: 10.59 kB / 1.339 GB, free: 324 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008201/1.106, allocations: 41.42 kB / 1.339 GB, free: 320 kB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/1.107, allocations: 26.95 kB / 1.339 GB, free: 308 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.191e-05/1.107, allocations: 21.67 kB / 1.339 GB, free: 300 kB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002865/1.107, allocations: 228.1 kB / 1.339 GB, free: 172 kB / 1.014 GB Notification: Performance of sort global known variables: time 1.61e-07/1.107, allocations: 0 / 1.339 GB, free: 172 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.000701/1.108, allocations: 111.5 kB / 1.34 GB, free: 160 kB / 1.014 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.007684/1.115, allocations: 1.513 MB / 1.341 GB, free: 15.29 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003027/1.118, allocations: 0.723 MB / 1.342 GB, free: 14.93 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.118, allocations: 3.938 kB / 1.342 GB, free: 14.93 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001682/1.12, allocations: 0.4997 MB / 1.342 GB, free: 14.63 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007756/1.121, allocations: 117.6 kB / 1.342 GB, free: 14.59 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02035/1.141, allocations: 4.387 MB / 1.347 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/1.142, allocations: 0.7662 MB / 1.347 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004786/1.142, allocations: 84 kB / 1.347 GB, free: 11.69 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002499/1.142, allocations: 100 kB / 1.348 GB, free: 11.62 MB / 1.029 GB Notification: Performance of SimCode: time 7.32e-07/1.142, allocations: 4 kB / 1.348 GB, free: 11.62 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04334/1.186, allocations: 16.65 MB / 1.364 GB, free: 3.316 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/13.4, allocations: 23.42 kB / 1.364 GB, free: 3.297 MB / 1.029 GB (rm -f Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches