Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_9_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.0009003/0.0008999, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.005352/0.005352, allocations: 170.6 kB / 16.26 MB, free: 6.613 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.247/1.247, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.146/2.146, allocations: 390.9 MB / 0.6664 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000303/0.0003031, allocations: 8 kB / 0.8161 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5567/0.557, allocations: 142.4 MB / 0.9552 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.001802/0.5589, allocations: 1.984 MB / 0.9571 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1439/0.7028, allocations: 148.1 MB / 1.102 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002238/0.7031, allocations: 4 kB / 1.102 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001768/0.7033, allocations: 35.59 kB / 1.102 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003818/0.7037, allocations: 83.39 kB / 1.102 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007373/0.7044, allocations: 271.2 kB / 1.102 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005025/0.7049, allocations: 403.8 kB / 1.103 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002181/0.7051, allocations: 101.9 kB / 1.103 GB, free: 7.805 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001864/0.707, allocations: 235.2 kB / 1.103 GB, free: 7.598 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002535/0.7073, allocations: 163.3 kB / 1.103 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.314e-05/0.7073, allocations: 16 kB / 1.103 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005097/0.7079, allocations: 263.6 kB / 1.103 GB, free: 7.164 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.395e-05/0.7079, allocations: 59.73 kB / 1.103 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.7081, allocations: 157 kB / 1.103 GB, free: 6.945 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005591/0.7087, allocations: 466.4 kB / 1.104 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.7087, allocations: 0 / 1.104 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7087, allocations: 0 / 1.104 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.7087, allocations: 0 / 1.104 GB, free: 6.488 MB / 0.8575 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.001334/0.71, allocations: 0.6589 MB / 1.105 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.7101, allocations: 12.03 kB / 1.105 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.79e-05/0.7102, allocations: 62.72 kB / 1.105 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002693/0.7129, allocations: 255.3 kB / 1.105 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.7132, allocations: 307.2 kB / 1.105 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.7133, allocations: 20.56 kB / 1.105 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.31e-05/0.7133, allocations: 24 kB / 1.105 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/0.7147, allocations: 436.5 kB / 1.106 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.7147, allocations: 0 / 1.106 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.767e-05/0.7148, allocations: 11.94 kB / 1.106 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.7148, allocations: 11.98 kB / 1.106 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002222/0.717, allocations: 0.5369 MB / 1.106 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002826/0.7199, allocations: 1.132 MB / 1.107 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002135/0.722, allocations: 466.7 kB / 1.108 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/0.723, allocations: 228.8 kB / 1.108 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.809e-05/0.7231, allocations: 11.97 kB / 1.108 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.7231, allocations: 46.44 kB / 1.108 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=25): time 1.432e-06/0.7231, allocations: 4 kB / 1.108 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of matching and sorting (n=25): time 0.01536/0.7385, allocations: 1.701 MB / 1.11 GB, free: 380 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.7385, allocations: 59.34 kB / 1.11 GB, free: 308 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003322/0.7389, allocations: 312.4 kB / 1.11 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.084e-05/0.739, allocations: 29.7 kB / 1.11 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.7391, allocations: 172.2 kB / 1.11 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.328e-05/0.7392, allocations: 82.75 kB / 1.11 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.249e-05/0.7393, allocations: 25.72 kB / 1.11 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.7394, allocations: 350.7 kB / 1.111 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.7404, allocations: 200.4 kB / 1.111 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/0.7414, allocations: 270.9 kB / 1.111 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002003/0.7435, allocations: 446.7 kB / 1.112 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.7435, allocations: 0 / 1.112 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006867/0.7503, allocations: 0.8849 MB / 1.112 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.7504, allocations: 11.98 kB / 1.112 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.7504, allocations: 0 / 1.112 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001825/0.7522, allocations: 281.4 kB / 1.113 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004381/0.7527, allocations: 75.81 kB / 1.113 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01314/0.7658, allocations: 3.766 MB / 1.116 GB, free: 9.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007665/0.7666, allocations: 83.58 kB / 1.116 GB, free: 9.008 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.807e-05/0.7667, allocations: 15.97 kB / 1.117 GB, free: 8.992 MB / 0.8731 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.0001867/0.7669, allocations: 149.6 kB / 1.117 GB, free: 8.836 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.405e-05/0.7669, allocations: 35.62 kB / 1.117 GB, free: 8.801 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006969/0.7739, allocations: 0.9435 MB / 1.118 GB, free: 7.848 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.7739, allocations: 0 / 1.118 GB, free: 7.848 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.7739, allocations: 7.875 kB / 1.118 GB, free: 7.84 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.774, allocations: 7.984 kB / 1.118 GB, free: 7.832 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004766/0.7744, allocations: 428.8 kB / 1.118 GB, free: 7.363 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.7744, allocations: 0 / 1.118 GB, free: 7.363 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000376/0.7748, allocations: 51.95 kB / 1.118 GB, free: 7.312 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001736/0.7766, allocations: 281.3 kB / 1.118 GB, free: 7.031 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.626e-05/0.7766, allocations: 11.97 kB / 1.118 GB, free: 7.02 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01284/0.7895, allocations: 3.766 MB / 1.122 GB, free: 2.984 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.7895, allocations: 0 / 1.122 GB, free: 2.984 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006687/0.7962, allocations: 0.9621 MB / 1.123 GB, free: 2 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.857e-05/0.7963, allocations: 116.7 kB / 1.123 GB, free: 1.867 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.682e-05/0.7963, allocations: 4 kB / 1.123 GB, free: 1.863 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006908/0.797, allocations: 47.95 kB / 1.123 GB, free: 1.816 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.178e-05/0.7971, allocations: 27.91 kB / 1.123 GB, free: 1.789 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.105e-05/0.7972, allocations: 15.97 kB / 1.123 GB, free: 1.773 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002034/0.7974, allocations: 219.1 kB / 1.123 GB, free: 1.562 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7974, allocations: 4 kB / 1.123 GB, free: 1.559 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005147/0.7979, allocations: 115.9 kB / 1.124 GB, free: 1.445 MB / 0.8731 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.007123/0.805, allocations: 1.515 MB / 1.125 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002625/0.8077, allocations: 0.7235 MB / 1.126 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8077, allocations: 3.938 kB / 1.126 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001466/0.8091, allocations: 0.5051 MB / 1.126 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006746/0.8098, allocations: 109.7 kB / 1.126 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01897/0.8288, allocations: 4.495 MB / 1.131 GB, free: 9.906 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.8292, allocations: 0.7684 MB / 1.131 GB, free: 9.109 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004972/0.8297, allocations: 78.88 kB / 1.132 GB, free: 9.035 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.8299, allocations: 99.38 kB / 1.132 GB, free: 8.941 MB / 0.8887 GB Notification: Performance of SimCode: time 7.41e-07/0.8299, allocations: 0 / 1.132 GB, free: 8.941 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02761/0.8575, allocations: 15.69 MB / 1.147 GB, free: 9.449 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/0.8577, allocations: 220.6 kB / 1.147 GB, free: 9.191 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.014/2.872, allocations: 0 / 1.147 GB, free: 9.191 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Comfort_Examples_Fanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches