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: translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|theCom.M|theCom.TOpe|theCom.TAir|theCom.TRad|theCom.TClo|theCom.TSki|theCom.PMV|theCom.PPD|theCom.vAir",fileNamePrefix="Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger") translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|theCom.M|theCom.TOpe|theCom.TAir|theCom.TRad|theCom.TClo|theCom.TSki|theCom.PMV|theCom.PPD|theCom.vAir",fileNamePrefix="Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 112.2 kB / 15.99 MB, free: 6.348 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.001206/0.001206, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.377/1.377, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.68/2.68, allocations: 469.8 MB / 0.7427 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002666/0.002666, allocations: 68.55 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3746, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.004199/0.3789, allocations: 2.356 MB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.639/1.018, allocations: 149.8 MB / 1.213 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002601/1.018, allocations: 7.219 kB / 1.213 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002248/1.019, allocations: 30.06 kB / 1.213 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004156/1.019, allocations: 87.67 kB / 1.213 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009537/1.02, allocations: 270.6 kB / 1.213 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005508/1.021, allocations: 427.4 kB / 1.214 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002314/1.021, allocations: 111.1 kB / 1.214 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00227/1.023, allocations: 269.1 kB / 1.214 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002986/1.023, allocations: 185.8 kB / 1.214 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.725e-05/1.023, allocations: 33.75 kB / 1.214 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007056/1.024, allocations: 285.5 kB / 1.214 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001157/1.024, allocations: 83.78 kB / 1.214 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002201/1.024, allocations: 162.6 kB / 1.215 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005879/1.025, allocations: 344.8 kB / 1.215 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/1.025, allocations: 0 / 1.215 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.535e-06/1.025, allocations: 0 / 1.215 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.184e-05/1.025, allocations: 1.188 kB / 1.215 GB, free: 11.08 MB / 0.9356 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.001716/1.027, allocations: 0.7113 MB / 1.216 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/1.027, allocations: 9.781 kB / 1.216 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002947/1.03, allocations: 257.7 kB / 1.216 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004458/1.03, allocations: 302 kB / 1.216 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/1.03, allocations: 19.56 kB / 1.216 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.254e-05/1.03, allocations: 25.88 kB / 1.216 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/1.032, allocations: 430.6 kB / 1.217 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/1.032, allocations: 5.375 kB / 1.217 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.549e-05/1.032, allocations: 9.406 kB / 1.217 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/1.032, allocations: 10.28 kB / 1.217 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002455/1.035, allocations: 0.5254 MB / 1.217 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003217/1.038, allocations: 1.132 MB / 1.218 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002373/1.04, allocations: 467.7 kB / 1.219 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001101/1.041, allocations: 227.1 kB / 1.219 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.547e-05/1.041, allocations: 8.062 kB / 1.219 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/1.041, allocations: 35.91 kB / 1.219 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=25): time 1.873e-06/1.041, allocations: 0 / 1.219 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25): time 0.01712/1.058, allocations: 1.725 MB / 1.221 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/1.059, allocations: 58.31 kB / 1.221 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004351/1.059, allocations: 312.1 kB / 1.221 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.121e-05/1.059, allocations: 31.83 kB / 1.221 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/1.059, allocations: 177.2 kB / 1.221 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/1.059, allocations: 81.11 kB / 1.221 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001928/1.06, allocations: 74.19 kB / 1.221 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001752/1.06, allocations: 342.8 kB / 1.222 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/1.061, allocations: 203 kB / 1.222 GB, free: 6.301 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/1.062, allocations: 259.2 kB / 1.222 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00213/1.064, allocations: 441.1 kB / 1.223 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/1.064, allocations: 3.625 kB / 1.223 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007478/1.072, allocations: 0.8888 MB / 1.223 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/1.072, allocations: 5.969 kB / 1.223 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/1.072, allocations: 2.344 kB / 1.223 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001954/1.074, allocations: 277.8 kB / 1.224 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005313/1.074, allocations: 62.47 kB / 1.224 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01646/1.091, allocations: 4.101 MB / 1.228 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/1.092, allocations: 75.55 kB / 1.228 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.866e-05/1.092, allocations: 19.97 kB / 1.228 GB, free: 1.152 MB / 0.9356 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.0002707/1.092, allocations: 143.5 kB / 1.228 GB, free: 1.004 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.66e-05/1.092, allocations: 31.62 kB / 1.228 GB, free: 0.9727 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00803/1.1, allocations: 0.9573 MB / 1.229 GB, free: 8 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.587e-06/1.1, allocations: 0 / 1.229 GB, free: 8 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/1.1, allocations: 0 / 1.229 GB, free: 8 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.301e-05/1.1, allocations: 7.984 kB / 1.229 GB, free: 0 / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007688/1.101, allocations: 430.7 kB / 1.229 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/1.101, allocations: 3.938 kB / 1.229 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004347/1.102, allocations: 47.95 kB / 1.229 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001926/1.103, allocations: 285.3 kB / 1.23 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.958e-05/1.104, allocations: 23.84 kB / 1.23 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01603/1.12, allocations: 4.071 MB / 1.234 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.12, allocations: 0 / 1.234 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007822/1.127, allocations: 0.957 MB / 1.235 GB, free: 9.844 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/1.128, allocations: 112.6 kB / 1.235 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/1.128, allocations: 8 kB / 1.235 GB, free: 9.707 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008094/1.129, allocations: 47.94 kB / 1.235 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/1.129, allocations: 15.92 kB / 1.235 GB, free: 9.645 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.037e-05/1.129, allocations: 23.97 kB / 1.235 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000323/1.129, allocations: 231 kB / 1.235 GB, free: 9.395 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/1.129, allocations: 0 / 1.235 GB, free: 9.395 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006842/1.13, allocations: 115.9 kB / 1.235 GB, free: 9.281 MB / 0.9512 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.0002759/1.13, allocations: 115.2 kB / 1.235 GB, free: 9.16 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003035/1.133, allocations: 0.7476 MB / 1.236 GB, free: 8.387 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.133, allocations: 0 / 1.236 GB, free: 8.387 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00164/1.135, allocations: 0.5015 MB / 1.236 GB, free: 7.859 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006991/1.136, allocations: 109.2 kB / 1.237 GB, free: 7.754 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002818/1.138, allocations: 0.8137 MB / 1.237 GB, free: 6.91 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/1.139, allocations: 0.7645 MB / 1.238 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/1.139, allocations: 43.41 kB / 1.238 GB, free: 6.074 MB / 0.9512 GB Notification: Performance of SimCode: time 8.52e-07/1.139, allocations: 7.938 kB / 1.238 GB, free: 6.066 MB / 0.9512 GB Notification: Performance of Templates: time 0.01276/1.152, allocations: 8.281 MB / 1.246 GB, free: 13.8 MB / 0.9669 GB make -j1 -f Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.makefile (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 & ./Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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