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.001224/0.001224, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001191/0.001191, allocations: 195.6 kB / 16.14 MB, free: 6.645 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.33/1.33, allocations: 222.9 MB / 239.8 MB, free: 4.508 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.216/2.216, allocations: 390.2 MB / 0.6643 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 55.91 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.535/0.5364, allocations: 140.3 MB / 0.949 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.00304/0.5395, allocations: 2.351 MB / 0.9513 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1438/0.6833, allocations: 149.7 MB / 1.098 GB, free: 9.426 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/0.6835, allocations: 7.938 kB / 1.098 GB, free: 9.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001582/0.6837, allocations: 31.66 kB / 1.098 GB, free: 9.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002578/0.684, allocations: 83.39 kB / 1.098 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004627/0.6845, allocations: 263.3 kB / 1.098 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003366/0.6848, allocations: 407.7 kB / 1.098 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.685, allocations: 101.9 kB / 1.098 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001637/0.6866, allocations: 256.9 kB / 1.099 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001996/0.6868, allocations: 175.2 kB / 1.099 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.343e-05/0.6869, allocations: 20 kB / 1.099 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004204/0.6873, allocations: 263.6 kB / 1.099 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.703e-05/0.6874, allocations: 67.72 kB / 1.099 GB, free: 7.805 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.6875, allocations: 147.2 kB / 1.099 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004592/0.688, allocations: 470.5 kB / 1.1 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.688, allocations: 0 / 1.1 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.082e-06/0.688, allocations: 0 / 1.1 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.688, allocations: 0 / 1.1 GB, free: 7.199 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.001286/0.6893, allocations: 0.6978 MB / 1.1 GB, free: 6.449 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.6893, allocations: 16.02 kB / 1.1 GB, free: 6.434 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.09e-05/0.6894, allocations: 66.73 kB / 1.101 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002764/0.6922, allocations: 267.2 kB / 1.101 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.6925, allocations: 295.2 kB / 1.101 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.6925, allocations: 20.56 kB / 1.101 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.629e-05/0.6926, allocations: 28 kB / 1.101 GB, free: 5.723 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.694, allocations: 428.5 kB / 1.101 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.694, allocations: 0 / 1.101 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.319e-05/0.6941, allocations: 15.94 kB / 1.102 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.6941, allocations: 4 kB / 1.102 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002278/0.6964, allocations: 0.5213 MB / 1.102 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002858/0.6992, allocations: 1.14 MB / 1.103 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002209/0.7014, allocations: 454.4 kB / 1.104 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/0.7025, allocations: 228.7 kB / 1.104 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.907e-05/0.7025, allocations: 12.38 kB / 1.104 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.7026, allocations: 38.5 kB / 1.104 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=25): time 3.507e-06/0.7026, allocations: 3.984 kB / 1.104 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=25): time 0.01587/0.7184, allocations: 1.724 MB / 1.106 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.7185, allocations: 51.41 kB / 1.106 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.7188, allocations: 308.5 kB / 1.106 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.862e-05/0.7188, allocations: 25.7 kB / 1.106 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.7189, allocations: 180.1 kB / 1.106 GB, free: 472 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.305e-05/0.719, allocations: 82.75 kB / 1.106 GB, free: 388 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.7191, allocations: 81.83 kB / 1.106 GB, free: 300 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.7193, allocations: 342.8 kB / 1.107 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/0.7203, allocations: 204.4 kB / 1.107 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.7214, allocations: 262.9 kB / 1.107 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002009/0.7234, allocations: 434.8 kB / 1.107 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.7234, allocations: 4 kB / 1.107 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007009/0.7304, allocations: 0.8927 MB / 1.108 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.7304, allocations: 4 kB / 1.108 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.7304, allocations: 0 / 1.108 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001776/0.7322, allocations: 281.4 kB / 1.109 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004193/0.7326, allocations: 63.83 kB / 1.109 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01324/0.7459, allocations: 3.793 MB / 1.112 GB, free: 9.723 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007865/0.7467, allocations: 75.55 kB / 1.112 GB, free: 9.648 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.646e-05/0.7467, allocations: 15.97 kB / 1.112 GB, free: 9.633 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.000176/0.7469, allocations: 145.7 kB / 1.113 GB, free: 9.48 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.383e-05/0.747, allocations: 35.62 kB / 1.113 GB, free: 9.445 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007252/0.7543, allocations: 0.951 MB / 1.114 GB, free: 8.484 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.7543, allocations: 0 / 1.114 GB, free: 8.484 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.7543, allocations: 7.938 kB / 1.114 GB, free: 8.477 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.7543, allocations: 3.938 kB / 1.114 GB, free: 8.473 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004572/0.7548, allocations: 420.8 kB / 1.114 GB, free: 8.012 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.7548, allocations: 0 / 1.114 GB, free: 8.012 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003771/0.7552, allocations: 59.89 kB / 1.114 GB, free: 7.953 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001756/0.7569, allocations: 277.4 kB / 1.114 GB, free: 7.676 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.1e-05/0.757, allocations: 15.97 kB / 1.114 GB, free: 7.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01264/0.7696, allocations: 3.782 MB / 1.118 GB, free: 3.609 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7697, allocations: 0 / 1.118 GB, free: 3.609 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006776/0.7764, allocations: 0.9621 MB / 1.119 GB, free: 2.625 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.409e-05/0.7765, allocations: 112.7 kB / 1.119 GB, free: 2.496 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.56e-05/0.7766, allocations: 4 kB / 1.119 GB, free: 2.492 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007132/0.7773, allocations: 51.89 kB / 1.119 GB, free: 2.441 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.653e-05/0.7774, allocations: 19.91 kB / 1.119 GB, free: 2.422 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.995e-05/0.7775, allocations: 19.97 kB / 1.119 GB, free: 2.402 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002067/0.7777, allocations: 219.1 kB / 1.119 GB, free: 2.191 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7777, allocations: 4 kB / 1.119 GB, free: 2.188 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005246/0.7782, allocations: 116 kB / 1.119 GB, free: 2.074 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.007097/0.7853, allocations: 1.521 MB / 1.121 GB, free: 0.5156 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002503/0.7878, allocations: 0.7118 MB / 1.122 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.7878, allocations: 0 / 1.122 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001443/0.7893, allocations: 0.4933 MB / 1.122 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000599/0.7899, allocations: 107 kB / 1.122 GB, free: 15.15 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01859/0.8085, allocations: 4.487 MB / 1.127 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.8088, allocations: 0.7645 MB / 1.127 GB, free: 9.773 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004671/0.8093, allocations: 82.86 kB / 1.127 GB, free: 9.695 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/0.8095, allocations: 99.39 kB / 1.127 GB, free: 9.602 MB / 0.8887 GB Notification: Performance of SimCode: time 6.72e-07/0.8095, allocations: 0 / 1.127 GB, free: 9.602 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.034/1.844, allocations: 15.83 MB / 1.143 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002966/1.844, allocations: 222.7 kB / 1.143 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.108/3.952, allocations: 3.938 kB / 1.143 GB, free: 9.68 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