Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_11_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.00697/0.00697, allocations: 98.67 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.001797/0.001797, allocations: 202.2 kB / 16.68 MB, free: 5.961 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.389/1.389, 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 11.1.0-maint.11.x/package.mo): time 2.49/2.49, allocations: 469.8 MB / 0.7425 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 71.88 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2843, allocations: 159.1 MB / 1.22 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003435/0.2878, allocations: 2.32 MB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.666/0.9538, allocations: 152 MB / 1.371 GB, free: 12.24 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001748/0.954, allocations: 7.438 kB / 1.371 GB, free: 12.23 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001827/0.9542, allocations: 47.16 kB / 1.371 GB, free: 12.2 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003196/0.9546, allocations: 100.8 kB / 1.371 GB, free: 12.13 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006922/0.9553, allocations: 307.2 kB / 1.371 GB, free: 11.97 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004039/0.9557, allocations: 424.1 kB / 1.372 GB, free: 11.78 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001925/0.9559, allocations: 112.3 kB / 1.372 GB, free: 11.72 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001274/0.9572, allocations: 269.1 kB / 1.372 GB, free: 11.64 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000247/0.9574, allocations: 184.6 kB / 1.372 GB, free: 11.56 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.383e-05/0.9575, allocations: 34.94 kB / 1.372 GB, free: 11.56 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005066/0.958, allocations: 276.4 kB / 1.373 GB, free: 11.49 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.372e-05/0.9581, allocations: 85.67 kB / 1.373 GB, free: 11.43 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.9583, allocations: 162.3 kB / 1.373 GB, free: 11.34 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006107/0.9589, allocations: 499.8 kB / 1.373 GB, free: 11.15 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.9589, allocations: 1.344 kB / 1.373 GB, free: 11.15 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9589, allocations: 0 / 1.373 GB, free: 11.15 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.9589, allocations: 0 / 1.373 GB, free: 11.15 MB / 1.076 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.0014/0.9603, allocations: 0.7112 MB / 1.374 GB, free: 10.61 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.9604, allocations: 10.81 kB / 1.374 GB, free: 10.61 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.207e-05/0.9604, allocations: 60.89 kB / 1.374 GB, free: 10.56 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002615/0.9631, allocations: 266.3 kB / 1.374 GB, free: 10.52 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003867/0.9635, allocations: 311.6 kB / 1.375 GB, free: 10.25 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.9635, allocations: 20.03 kB / 1.375 GB, free: 10.24 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.828e-05/0.9635, allocations: 26.84 kB / 1.375 GB, free: 10.23 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.9649, allocations: 431 kB / 1.375 GB, free: 10.09 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.9649, allocations: 0 / 1.375 GB, free: 10.09 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.272e-05/0.965, allocations: 10.12 kB / 1.375 GB, free: 10.08 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.965, allocations: 10.97 kB / 1.375 GB, free: 10.08 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00221/0.9672, allocations: 0.5233 MB / 1.376 GB, free: 9.934 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002807/0.97, allocations: 1.154 MB / 1.377 GB, free: 9.297 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002197/0.9722, allocations: 456.3 kB / 1.377 GB, free: 9.066 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/0.9733, allocations: 229.8 kB / 1.377 GB, free: 8.953 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.275e-05/0.9733, allocations: 10.94 kB / 1.377 GB, free: 8.945 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.9733, allocations: 35.91 kB / 1.377 GB, free: 8.902 MB / 1.076 GB Notification: Performance of pre-optimization done (n=25): time 3.086e-06/0.9734, allocations: 5.031 kB / 1.377 GB, free: 8.898 MB / 1.076 GB Notification: Performance of matching and sorting (n=25): time 0.01534/0.9887, allocations: 1.727 MB / 1.379 GB, free: 7.961 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.9888, allocations: 54 kB / 1.379 GB, free: 7.898 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003327/0.9891, allocations: 304.9 kB / 1.379 GB, free: 7.691 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.622e-05/0.9892, allocations: 31.95 kB / 1.379 GB, free: 7.656 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.9893, allocations: 178.1 kB / 1.38 GB, free: 7.492 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.328e-05/0.9894, allocations: 89.94 kB / 1.38 GB, free: 7.414 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/0.9896, allocations: 78.22 kB / 1.38 GB, free: 7.352 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.9897, allocations: 341.7 kB / 1.38 GB, free: 7.016 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.9907, allocations: 206.3 kB / 1.38 GB, free: 6.914 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/0.9918, allocations: 256.5 kB / 1.381 GB, free: 6.754 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002008/0.9938, allocations: 438 kB / 1.381 GB, free: 6.527 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.9938, allocations: 0 / 1.381 GB, free: 6.527 MB / 1.076 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006799/1.001, allocations: 0.8898 MB / 1.382 GB, free: 6.074 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/1.001, allocations: 7.219 kB / 1.382 GB, free: 6.074 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/1.001, allocations: 1.281 kB / 1.382 GB, free: 6.074 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001828/1.003, allocations: 279.8 kB / 1.382 GB, free: 5.93 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000455/1.003, allocations: 65.59 kB / 1.382 GB, free: 5.91 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01431/1.017, allocations: 4.099 MB / 1.386 GB, free: 2.336 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007895/1.018, allocations: 74.88 kB / 1.386 GB, free: 2.293 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.875e-05/1.018, allocations: 21.22 kB / 1.386 GB, free: 2.281 MB / 1.076 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.0001937/1.018, allocations: 142.3 kB / 1.386 GB, free: 2.145 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.564e-05/1.018, allocations: 30.75 kB / 1.386 GB, free: 2.129 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007106/1.026, allocations: 0.9563 MB / 1.387 GB, free: 1.594 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/1.026, allocations: 7.25 kB / 1.387 GB, free: 1.59 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/1.026, allocations: 0 / 1.387 GB, free: 1.59 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/1.026, allocations: 5.031 kB / 1.387 GB, free: 1.586 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005222/1.026, allocations: 426.7 kB / 1.388 GB, free: 1.203 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/1.026, allocations: 0 / 1.388 GB, free: 1.203 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003831/1.027, allocations: 54.02 kB / 1.388 GB, free: 1.188 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001824/1.028, allocations: 287.4 kB / 1.388 GB, free: 1.035 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.331e-05/1.028, allocations: 11.44 kB / 1.388 GB, free: 1.027 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01449/1.043, allocations: 4.08 MB / 1.392 GB, free: 13.46 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/1.043, allocations: 0 / 1.392 GB, free: 13.46 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009684/1.053, allocations: 0.9602 MB / 1.393 GB, free: 12.91 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/1.053, allocations: 114.3 kB / 1.393 GB, free: 12.79 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.405e-05/1.053, allocations: 5 kB / 1.393 GB, free: 12.78 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007034/1.054, allocations: 45.11 kB / 1.393 GB, free: 12.76 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.513e-05/1.054, allocations: 21.22 kB / 1.393 GB, free: 12.75 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.547e-05/1.054, allocations: 22.25 kB / 1.393 GB, free: 12.73 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002499/1.054, allocations: 222.2 kB / 1.393 GB, free: 12.59 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.954e-06/1.054, allocations: 1.281 kB / 1.393 GB, free: 12.59 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0005561/1.055, allocations: 121.8 kB / 1.394 GB, free: 12.57 MB / 1.092 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.007284/1.062, allocations: 1.514 MB / 1.395 GB, free: 11.48 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002695/1.065, allocations: 0.7245 MB / 1.396 GB, free: 11.01 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.065, allocations: 4.125 kB / 1.396 GB, free: 11 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001523/1.066, allocations: 0.5069 MB / 1.396 GB, free: 10.62 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006321/1.067, allocations: 123.7 kB / 1.396 GB, free: 10.55 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0185/1.085, allocations: 4.381 MB / 1.401 GB, free: 7.73 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/1.086, allocations: 0.768 MB / 1.401 GB, free: 6.992 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003657/1.086, allocations: 79.44 kB / 1.401 GB, free: 6.941 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002039/1.086, allocations: 99.52 kB / 1.402 GB, free: 6.863 MB / 1.092 GB Notification: Performance of SimCode: time 2.91e-07/1.086, allocations: 0 / 1.402 GB, free: 6.863 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7348/1.821, allocations: 16.66 MB / 1.418 GB, free: 10.38 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.67/18.49, allocations: 3.938 kB / 1.418 GB, free: 10.38 MB / 1.107 GB (rm -f Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Comfort_Examples_Fanger_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches