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.008343/0.008343, allocations: 101.6 kB / 15.73 MB, free: 6.047 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.001668/0.001669, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.515/2.515, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 63.91 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3012, allocations: 151.6 MB / 1.166 GB, free: 7.332 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003694/0.3049, allocations: 2.311 MB / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7372/1.042, allocations: 152 MB / 1.317 GB, free: 12.46 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002411/1.042, allocations: 7.031 kB / 1.317 GB, free: 12.46 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002098/1.043, allocations: 47.16 kB / 1.317 GB, free: 12.43 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0004123/1.043, allocations: 92.33 kB / 1.317 GB, free: 12.37 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009646/1.044, allocations: 302.5 kB / 1.317 GB, free: 12.3 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005767/1.045, allocations: 433.6 kB / 1.318 GB, free: 12.21 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002075/1.045, allocations: 105.3 kB / 1.318 GB, free: 12.2 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001316/1.046, allocations: 288.5 kB / 1.318 GB, free: 12.16 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002982/1.047, allocations: 180.5 kB / 1.318 GB, free: 12.12 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.074e-05/1.047, allocations: 31.5 kB / 1.318 GB, free: 12.12 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006566/1.047, allocations: 284.7 kB / 1.319 GB, free: 12.09 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.744e-05/1.047, allocations: 75.59 kB / 1.319 GB, free: 12.08 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002122/1.048, allocations: 169.1 kB / 1.319 GB, free: 12.03 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0008649/1.048, allocations: 493.2 kB / 1.319 GB, free: 11.93 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/1.049, allocations: 5.062 kB / 1.319 GB, free: 11.93 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.172e-06/1.049, allocations: 0 / 1.319 GB, free: 11.93 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.232e-05/1.049, allocations: 0 / 1.319 GB, free: 11.93 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.001517/1.05, allocations: 0.7046 MB / 1.32 GB, free: 11.45 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/1.05, allocations: 9.562 kB / 1.32 GB, free: 11.45 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.867e-05/1.05, allocations: 63.95 kB / 1.32 GB, free: 11.4 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002677/1.053, allocations: 261.9 kB / 1.32 GB, free: 11.37 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004283/1.053, allocations: 306.1 kB / 1.321 GB, free: 11.13 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/1.053, allocations: 27.06 kB / 1.321 GB, free: 11.12 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.261e-05/1.053, allocations: 24.16 kB / 1.321 GB, free: 11.12 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/1.055, allocations: 429.1 kB / 1.321 GB, free: 11.09 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/1.055, allocations: 0 / 1.321 GB, free: 11.09 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.257e-05/1.055, allocations: 14.03 kB / 1.321 GB, free: 11.08 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/1.055, allocations: 10.53 kB / 1.321 GB, free: 11.08 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002316/1.057, allocations: 0.5289 MB / 1.322 GB, free: 10.94 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003244/1.061, allocations: 1.126 MB / 1.323 GB, free: 10.34 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002333/1.063, allocations: 461.3 kB / 1.323 GB, free: 10.2 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/1.064, allocations: 234.9 kB / 1.323 GB, free: 10.12 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.809e-05/1.064, allocations: 8.516 kB / 1.323 GB, free: 10.11 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/1.064, allocations: 32.7 kB / 1.323 GB, free: 10.07 MB / 1.014 GB Notification: Performance of pre-optimization done (n=25): time 1.973e-06/1.064, allocations: 0.9062 kB / 1.323 GB, free: 10.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=25): time 0.01581/1.08, allocations: 1.728 MB / 1.325 GB, free: 9.551 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/1.08, allocations: 53.88 kB / 1.325 GB, free: 9.488 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004153/1.08, allocations: 307.7 kB / 1.325 GB, free: 9.32 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.181e-05/1.08, allocations: 31.05 kB / 1.325 GB, free: 9.285 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000162/1.081, allocations: 170.3 kB / 1.326 GB, free: 9.141 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000109/1.081, allocations: 83.62 kB / 1.326 GB, free: 9.074 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/1.081, allocations: 71.34 kB / 1.326 GB, free: 9.043 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001437/1.081, allocations: 347.4 kB / 1.326 GB, free: 8.711 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/1.082, allocations: 200.8 kB / 1.326 GB, free: 8.656 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/1.083, allocations: 267.7 kB / 1.326 GB, free: 8.531 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002019/1.085, allocations: 435 kB / 1.327 GB, free: 8.371 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/1.085, allocations: 1.438 kB / 1.327 GB, free: 8.371 MB / 1.014 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006601/1.092, allocations: 0.8909 MB / 1.328 GB, free: 8.125 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/1.092, allocations: 5.062 kB / 1.328 GB, free: 8.125 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/1.092, allocations: 1.062 kB / 1.328 GB, free: 8.125 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001809/1.094, allocations: 285.6 kB / 1.328 GB, free: 8.059 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004663/1.094, allocations: 65.22 kB / 1.328 GB, free: 8.055 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01398/1.108, allocations: 4.099 MB / 1.332 GB, free: 4.973 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009113/1.109, allocations: 73.84 kB / 1.332 GB, free: 4.945 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/1.109, allocations: 18.97 kB / 1.332 GB, free: 4.941 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.0002862/1.11, allocations: 144.5 kB / 1.332 GB, free: 4.805 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/1.11, allocations: 29.59 kB / 1.332 GB, free: 4.789 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007231/1.117, allocations: 0.9507 MB / 1.333 GB, free: 4.512 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/1.117, allocations: 2.5 kB / 1.333 GB, free: 4.512 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/1.117, allocations: 0 / 1.333 GB, free: 4.512 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/1.117, allocations: 2.016 kB / 1.333 GB, free: 4.512 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006458/1.118, allocations: 436.4 kB / 1.334 GB, free: 4.207 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/1.118, allocations: 8 kB / 1.334 GB, free: 4.199 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004097/1.118, allocations: 52.95 kB / 1.334 GB, free: 4.195 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001794/1.12, allocations: 280.7 kB / 1.334 GB, free: 4.133 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.906e-05/1.12, allocations: 17.3 kB / 1.334 GB, free: 4.129 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01436/1.134, allocations: 4.071 MB / 1.338 GB, free: 1.062 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.134, allocations: 0 / 1.338 GB, free: 1.062 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006887/1.141, allocations: 0.9598 MB / 1.339 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002328/1.141, allocations: 110.7 kB / 1.339 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.976e-05/1.142, allocations: 10.88 kB / 1.339 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000726/1.142, allocations: 43.27 kB / 1.339 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.163e-05/1.142, allocations: 24.19 kB / 1.339 GB, free: 0.582 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.555e-05/1.142, allocations: 19.72 kB / 1.339 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002543/1.143, allocations: 223.7 kB / 1.339 GB, free: 468 kB / 1.014 GB Notification: Performance of sort global known variables: time 2.4e-07/1.143, allocations: 4 kB / 1.339 GB, free: 464 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006525/1.143, allocations: 118.4 kB / 1.339 GB, free: 444 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.007271/1.151, allocations: 1.514 MB / 1.341 GB, free: 15.56 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002985/1.154, allocations: 0.72 MB / 1.342 GB, free: 15.21 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.154, allocations: 0 / 1.342 GB, free: 15.21 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001539/1.155, allocations: 0.4968 MB / 1.342 GB, free: 14.92 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007341/1.156, allocations: 115.8 kB / 1.342 GB, free: 14.88 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01909/1.175, allocations: 4.383 MB / 1.347 GB, free: 12.73 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/1.176, allocations: 0.7665 MB / 1.347 GB, free: 12.03 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004291/1.176, allocations: 83.92 kB / 1.347 GB, free: 11.98 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/1.176, allocations: 105.9 kB / 1.347 GB, free: 11.91 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/1.176, allocations: 0 / 1.347 GB, free: 11.91 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05579/1.232, allocations: 16.64 MB / 1.364 GB, free: 3.574 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.28/18.52, allocations: 19.84 kB / 1.364 GB, free: 3.555 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Comfort_Examples_Fanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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