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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002059/0.002059, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003113/0.003113, allocations: 161.6 kB / 23.55 MB, free: 0.8867 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.42/1.42, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.627/2.627, allocations: 359 MB / 0.6048 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.7863 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.533e-05/2.711e-05, allocations: 2.844 kB / 0.7863 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.0038/0.003827, allocations: 2.197 MB / 0.7885 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1942/0.198, allocations: 133.6 MB / 0.919 GB, free: 4.594 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002469/0.1983, allocations: 7.938 kB / 0.919 GB, free: 4.586 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002549/0.1985, allocations: 51.45 kB / 0.919 GB, free: 4.535 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0004878/0.199, allocations: 103.1 kB / 0.9191 GB, free: 4.434 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009064/0.1999, allocations: 310.8 kB / 0.9194 GB, free: 4.129 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0006161/0.2005, allocations: 443.5 kB / 0.9199 GB, free: 3.695 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002131/0.2007, allocations: 68.34 kB / 0.9199 GB, free: 3.633 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001913/0.2027, allocations: 414.4 kB / 0.9203 GB, free: 3.297 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003071/0.203, allocations: 143.6 kB / 0.9205 GB, free: 3.156 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 7.09e-05/0.203, allocations: 32 kB / 0.9205 GB, free: 3.125 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005832/0.2036, allocations: 275.4 kB / 0.9208 GB, free: 2.855 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.2037, allocations: 75.73 kB / 0.9208 GB, free: 2.781 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001924/0.2039, allocations: 119.7 kB / 0.9209 GB, free: 2.664 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009457/0.2049, allocations: 0.5373 MB / 0.9215 GB, free: 2.125 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2049, allocations: 0 / 0.9215 GB, free: 2.125 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.492e-06/0.2049, allocations: 0 / 0.9215 GB, free: 2.125 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.256e-05/0.2049, allocations: 0 / 0.9215 GB, free: 2.125 MB / 0.8698 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.00172/0.2066, allocations: 0.6297 MB / 0.9221 GB, free: 1.465 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.2067, allocations: 8.031 kB / 0.9221 GB, free: 1.457 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00334/0.21, allocations: 343.2 kB / 0.9224 GB, free: 1.121 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005035/0.2105, allocations: 253.5 kB / 0.9227 GB, free: 0.8477 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.324e-05/0.2105, allocations: 20.66 kB / 0.9227 GB, free: 0.8281 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.009e-05/0.2106, allocations: 24 kB / 0.9227 GB, free: 0.8047 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/0.2122, allocations: 441.8 kB / 0.9231 GB, free: 376 kB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.2123, allocations: 0 / 0.9231 GB, free: 376 kB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.273e-05/0.2123, allocations: 12 kB / 0.9231 GB, free: 364 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.2123, allocations: 4 kB / 0.9231 GB, free: 360 kB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002513/0.2148, allocations: 0.5177 MB / 0.9236 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003394/0.2182, allocations: 0.9647 MB / 0.9246 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002459/0.2207, allocations: 438.4 kB / 0.925 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001128/0.2218, allocations: 220 kB / 0.9252 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.291e-05/0.2218, allocations: 4 kB / 0.9252 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.2219, allocations: 42.55 kB / 0.9253 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=25): time 2.154e-06/0.2219, allocations: 0 / 0.9253 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of matching and sorting (n=25): time 0.01685/0.2387, allocations: 1.575 MB / 0.9268 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/0.2388, allocations: 55.41 kB / 0.9268 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003104/0.2391, allocations: 221.7 kB / 0.9271 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.202e-05/0.2392, allocations: 29.7 kB / 0.9271 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.2394, allocations: 180.5 kB / 0.9273 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.2395, allocations: 95.59 kB / 0.9273 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/0.2397, allocations: 77.92 kB / 0.9274 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001947/0.2399, allocations: 330.8 kB / 0.9277 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/0.241, allocations: 208.3 kB / 0.9279 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/0.2423, allocations: 361.8 kB / 0.9283 GB, free: 10.92 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002248/0.2446, allocations: 423.6 kB / 0.9287 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2446, allocations: 3.938 kB / 0.9287 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007735/0.2523, allocations: 0.9084 MB / 0.9296 GB, free: 9.574 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/0.2523, allocations: 8 kB / 0.9296 GB, free: 9.566 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.2523, allocations: 0 / 0.9296 GB, free: 9.566 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004319/0.2567, allocations: 0.509 MB / 0.9301 GB, free: 9.051 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005279/0.2572, allocations: 67.88 kB / 0.9301 GB, free: 8.984 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01595/0.2731, allocations: 3.803 MB / 0.9339 GB, free: 4.977 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008812/0.274, allocations: 63.86 kB / 0.9339 GB, free: 4.914 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.515e-05/0.2741, allocations: 19.97 kB / 0.9339 GB, free: 4.895 MB / 0.8855 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.0002818/0.2744, allocations: 145.7 kB / 0.9341 GB, free: 4.742 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.2745, allocations: 31.86 kB / 0.9341 GB, free: 4.711 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007528/0.2821, allocations: 0.9409 MB / 0.935 GB, free: 3.758 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.2821, allocations: 3.938 kB / 0.935 GB, free: 3.754 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2821, allocations: 4 kB / 0.935 GB, free: 3.75 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.2821, allocations: 11.92 kB / 0.935 GB, free: 3.738 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006259/0.2827, allocations: 288.9 kB / 0.9353 GB, free: 3.426 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.2827, allocations: 0 / 0.9353 GB, free: 3.426 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004387/0.2832, allocations: 51.89 kB / 0.9354 GB, free: 3.375 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004243/0.2874, allocations: 0.5089 MB / 0.9359 GB, free: 2.859 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.517e-05/0.2875, allocations: 15.97 kB / 0.9359 GB, free: 2.844 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01553/0.303, allocations: 3.797 MB / 0.9396 GB, free: 14.85 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.303, allocations: 0 / 0.9396 GB, free: 14.85 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007576/0.3106, allocations: 0.9574 MB / 0.9405 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 8.087e-05/0.3107, allocations: 31.75 kB / 0.9406 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.789e-05/0.3107, allocations: 8 kB / 0.9406 GB, free: 13.83 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007828/0.3115, allocations: 55.81 kB / 0.9406 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.3116, allocations: 19.97 kB / 0.9406 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.199e-05/0.3117, allocations: 15.97 kB / 0.9407 GB, free: 13.74 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001984/0.3119, allocations: 169.2 kB / 0.9408 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.3119, allocations: 0 / 0.9408 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000683/0.3126, allocations: 119.8 kB / 0.9409 GB, free: 13.45 MB / 0.9011 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.0002723/0.3128, allocations: 123.2 kB / 0.941 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002989/0.3158, allocations: 0.7096 MB / 0.9417 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3158, allocations: 0 / 0.9417 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001671/0.3175, allocations: 493.1 kB / 0.9422 GB, free: 12.08 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006234/0.3181, allocations: 96.31 kB / 0.9423 GB, free: 11.98 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.3206, allocations: 0.6336 MB / 0.9429 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001925/0.3208, allocations: 167.6 kB / 0.9431 GB, free: 11.13 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0004041/0.3212, allocations: 74.19 kB / 0.9431 GB, free: 11.06 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.3213, allocations: 28.48 kB / 0.9432 GB, free: 11.04 MB / 0.9011 GB Notification: Performance of SimCode: time 8.32e-07/0.3213, allocations: 4 kB / 0.9432 GB, free: 11.03 MB / 0.9011 GB Notification: Performance of Templates: time 0.02376/0.3451, allocations: 13.26 MB / 0.9561 GB, free: 13.88 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.makefile [Timeout 300] (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) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.9946676979307085]