Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.Comfort.Examples.Fanger,fileNamePrefix="Buildings_latest_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_latest_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.008029/0.008029, allocations: 97.2 kB / 15.73 MB, free: 5.547 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.001885/0.001885, allocations: 190 kB / 16.67 MB, free: 5.48 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.605/2.605, allocations: 469.4 MB / 0.7422 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002431/0.002431, allocations: 68.09 kB / 1.064 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7931/0.7956, allocations: 159.1 MB / 1.22 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003252/0.7989, allocations: 2.302 MB / 1.222 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1749/0.9737, allocations: 152 MB / 1.37 GB, free: 7.395 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001964/0.974, allocations: 3.938 kB / 1.37 GB, free: 7.391 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0001998/0.9742, allocations: 51.45 kB / 1.37 GB, free: 7.34 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0003429/0.9746, allocations: 99.2 kB / 1.371 GB, free: 7.242 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006911/0.9753, allocations: 303 kB / 1.371 GB, free: 6.945 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0003969/0.9757, allocations: 427.8 kB / 1.371 GB, free: 6.523 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002075/0.9759, allocations: 111.7 kB / 1.371 GB, free: 6.406 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001289/0.9772, allocations: 290.4 kB / 1.372 GB, free: 6.145 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002321/0.9774, allocations: 191.2 kB / 1.372 GB, free: 5.957 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 4.99e-05/0.9775, allocations: 28 kB / 1.372 GB, free: 5.93 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005065/0.978, allocations: 275.6 kB / 1.372 GB, free: 5.66 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 9.278e-05/0.9781, allocations: 87.72 kB / 1.372 GB, free: 5.574 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001565/0.9783, allocations: 159.2 kB / 1.372 GB, free: 5.418 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0006108/0.9789, allocations: 0.49 MB / 1.373 GB, free: 4.93 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.9789, allocations: 0 / 1.373 GB, free: 4.93 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.332e-06/0.9789, allocations: 0 / 1.373 GB, free: 4.93 MB / 1.092 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.9789, allocations: 0 / 1.373 GB, free: 4.93 MB / 1.092 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.001418/0.9804, allocations: 0.7166 MB / 1.374 GB, free: 4.164 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.9804, allocations: 8.625 kB / 1.374 GB, free: 4.156 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.857e-05/0.9805, allocations: 62.72 kB / 1.374 GB, free: 4.086 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002867/0.9833, allocations: 263.5 kB / 1.374 GB, free: 3.828 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004274/0.9838, allocations: 311.3 kB / 1.374 GB, free: 3.484 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.9838, allocations: 20.56 kB / 1.374 GB, free: 3.465 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.329e-05/0.9839, allocations: 28 kB / 1.374 GB, free: 3.438 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.9854, allocations: 424.5 kB / 1.375 GB, free: 3.02 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.9854, allocations: 3.938 kB / 1.375 GB, free: 3.016 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.984e-05/0.9855, allocations: 19.92 kB / 1.375 GB, free: 2.996 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.9855, allocations: 8 kB / 1.375 GB, free: 2.988 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002346/0.9878, allocations: 0.5212 MB / 1.375 GB, free: 2.469 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003086/0.9909, allocations: 1.144 MB / 1.376 GB, free: 1.273 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002316/0.9933, allocations: 456.6 kB / 1.377 GB, free: 0.8203 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00108/0.9944, allocations: 232.6 kB / 1.377 GB, free: 0.5898 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 3.821e-05/0.9944, allocations: 3.984 kB / 1.377 GB, free: 0.5859 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.9944, allocations: 42.5 kB / 1.377 GB, free: 0.5352 MB / 1.092 GB Notification: Performance of pre-optimization done (n=25): time 1.924e-06/0.9945, allocations: 0 / 1.377 GB, free: 0.5352 MB / 1.092 GB Notification: Performance of matching and sorting (n=25): time 0.01619/1.011, allocations: 1.723 MB / 1.379 GB, free: 14.76 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/1.011, allocations: 55.41 kB / 1.379 GB, free: 14.69 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003422/1.011, allocations: 304.6 kB / 1.379 GB, free: 14.39 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.874e-05/1.011, allocations: 29.7 kB / 1.379 GB, free: 14.36 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/1.011, allocations: 172.4 kB / 1.379 GB, free: 14.18 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 9.289e-05/1.011, allocations: 91.22 kB / 1.379 GB, free: 14.09 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001705/1.012, allocations: 77.92 kB / 1.379 GB, free: 14.01 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001238/1.012, allocations: 346.7 kB / 1.38 GB, free: 13.66 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001074/1.013, allocations: 204.3 kB / 1.38 GB, free: 13.46 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/1.014, allocations: 258.9 kB / 1.38 GB, free: 13.19 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002139/1.016, allocations: 442.8 kB / 1.381 GB, free: 12.75 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.016, allocations: 0 / 1.381 GB, free: 12.75 MB / 1.107 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00722/1.023, allocations: 0.8929 MB / 1.381 GB, free: 11.84 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/1.023, allocations: 4 kB / 1.381 GB, free: 11.84 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/1.023, allocations: 0 / 1.381 GB, free: 11.84 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0019/1.025, allocations: 281.3 kB / 1.382 GB, free: 11.56 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004864/1.026, allocations: 67.88 kB / 1.382 GB, free: 11.49 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01444/1.04, allocations: 4.098 MB / 1.386 GB, free: 7.117 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008964/1.041, allocations: 75.66 kB / 1.386 GB, free: 7.043 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-05/1.041, allocations: 23.97 kB / 1.386 GB, free: 7.02 MB / 1.107 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.0002275/1.041, allocations: 141.8 kB / 1.386 GB, free: 6.871 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.104e-05/1.042, allocations: 27.81 kB / 1.386 GB, free: 6.844 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007144/1.049, allocations: 0.9535 MB / 1.387 GB, free: 5.875 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/1.049, allocations: 4 kB / 1.387 GB, free: 5.871 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/1.049, allocations: 0 / 1.387 GB, free: 5.871 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/1.049, allocations: 4 kB / 1.387 GB, free: 5.867 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005343/1.049, allocations: 424.7 kB / 1.387 GB, free: 5.402 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/1.049, allocations: 4 kB / 1.387 GB, free: 5.398 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004024/1.05, allocations: 51.89 kB / 1.387 GB, free: 5.348 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001806/1.051, allocations: 281.4 kB / 1.388 GB, free: 5.066 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.1e-05/1.052, allocations: 11.98 kB / 1.388 GB, free: 5.055 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01421/1.066, allocations: 4.085 MB / 1.392 GB, free: 0.6836 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/1.066, allocations: 3.938 kB / 1.392 GB, free: 0.6797 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006887/1.073, allocations: 0.9613 MB / 1.393 GB, free: 15.7 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/1.073, allocations: 104.9 kB / 1.393 GB, free: 15.57 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.589e-05/1.073, allocations: 11.94 kB / 1.393 GB, free: 15.56 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007282/1.074, allocations: 43.95 kB / 1.393 GB, free: 15.52 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.967e-05/1.074, allocations: 27.84 kB / 1.393 GB, free: 15.49 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.959e-05/1.074, allocations: 19.97 kB / 1.393 GB, free: 15.47 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002287/1.074, allocations: 227.1 kB / 1.393 GB, free: 15.25 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.51e-07/1.074, allocations: 0 / 1.393 GB, free: 15.25 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.000567/1.075, allocations: 119.8 kB / 1.393 GB, free: 15.14 MB / 1.123 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.007326/1.082, allocations: 1.514 MB / 1.395 GB, free: 13.59 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002739/1.085, allocations: 0.7351 MB / 1.395 GB, free: 12.83 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.085, allocations: 0 / 1.395 GB, free: 12.83 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001565/1.086, allocations: 0.4977 MB / 1.396 GB, free: 12.3 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006695/1.087, allocations: 106.8 kB / 1.396 GB, free: 12.2 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01886/1.106, allocations: 4.385 MB / 1.4 GB, free: 7.723 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/1.106, allocations: 0.7684 MB / 1.401 GB, free: 6.93 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0004057/1.107, allocations: 82.86 kB / 1.401 GB, free: 6.848 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/1.107, allocations: 107.3 kB / 1.401 GB, free: 6.742 MB / 1.123 GB Notification: Performance of SimCode: time 7.21e-07/1.107, allocations: 0 / 1.401 GB, free: 6.742 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0425/1.149, allocations: 16.65 MB / 1.417 GB, free: 6.262 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/13.5, allocations: 13.23 kB / 1.417 GB, free: 6.254 MB / 1.139 GB (rm -f Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches