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.001887/0.001887, allocations: 87.69 kB / 20.23 MB, free: 4.188 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.002041/0.002041, allocations: 161.3 kB / 23.55 MB, free: 0.875 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.54/1.54, allocations: 177.1 MB / 203.9 MB, free: 5.617 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.868/2.868, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] 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.593e-06/1.593e-06, allocations: 0 / 0.7863 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.499e-05/3.658e-05, allocations: 9.203 kB / 0.7863 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003888/0.003925, allocations: 2.283 MB / 0.7886 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.2084/0.2123, allocations: 147.6 MB / 0.9327 GB, free: 6.473 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002758/0.2126, allocations: 7.938 kB / 0.9327 GB, free: 6.465 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0002512/0.2129, allocations: 47.47 kB / 0.9328 GB, free: 6.418 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0004678/0.2133, allocations: 107.1 kB / 0.9329 GB, free: 6.312 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008925/0.2142, allocations: 302.8 kB / 0.9332 GB, free: 6.016 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0006304/0.2149, allocations: 443.5 kB / 0.9336 GB, free: 5.582 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002138/0.2151, allocations: 76.33 kB / 0.9337 GB, free: 5.512 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002124/0.2172, allocations: 414 kB / 0.9341 GB, free: 5.176 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002945/0.2175, allocations: 143.6 kB / 0.9342 GB, free: 5.035 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 9.056e-05/0.2176, allocations: 32 kB / 0.9342 GB, free: 5.004 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006428/0.2182, allocations: 271.4 kB / 0.9345 GB, free: 4.738 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.2183, allocations: 75.73 kB / 0.9346 GB, free: 4.664 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.2185, allocations: 119.7 kB / 0.9347 GB, free: 4.547 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0009726/0.2195, allocations: 0.5334 MB / 0.9352 GB, free: 4.012 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2195, allocations: 4 kB / 0.9352 GB, free: 4.008 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2195, allocations: 0 / 0.9352 GB, free: 4.008 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.2195, allocations: 0 / 0.9352 GB, free: 4.008 MB / 0.8855 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.001764/0.2213, allocations: 0.7488 MB / 0.9359 GB, free: 3.223 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.2213, allocations: 8.031 kB / 0.9359 GB, free: 3.215 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002596/0.2239, allocations: 291.3 kB / 0.9362 GB, free: 2.93 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005092/0.2244, allocations: 252.3 kB / 0.9365 GB, free: 2.656 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.881e-05/0.2245, allocations: 24.66 kB / 0.9365 GB, free: 2.633 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.522e-05/0.2245, allocations: 28 kB / 0.9365 GB, free: 2.605 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.2256, allocations: 393.8 kB / 0.9369 GB, free: 2.215 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.2256, allocations: 0 / 0.9369 GB, free: 2.215 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.664e-05/0.2257, allocations: 8 kB / 0.9369 GB, free: 2.207 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.2257, allocations: 8 kB / 0.9369 GB, free: 2.199 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001459/0.2272, allocations: 450.3 kB / 0.9373 GB, free: 1.758 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002937/0.2301, allocations: 1.021 MB / 0.9383 GB, free: 0.7031 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.2315, allocations: 379 kB / 0.9387 GB, free: 328 kB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006122/0.2321, allocations: 186.9 kB / 0.9389 GB, free: 140 kB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.296e-05/0.2322, allocations: 8 kB / 0.9389 GB, free: 132 kB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.2322, allocations: 41.33 kB / 0.9389 GB, free: 80 kB / 0.8855 GB Notification: Performance of pre-optimization done (n=25): time 1.653e-06/0.2322, allocations: 0 / 0.9389 GB, free: 80 kB / 0.8855 GB Notification: Performance of matching and sorting (n=25): time 0.009978/0.2422, allocations: 1.109 MB / 0.94 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.819e-05/0.2423, allocations: 55.41 kB / 0.94 GB, free: 14.88 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003599/0.2426, allocations: 304.3 kB / 0.9403 GB, free: 14.57 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.687e-05/0.2427, allocations: 29.7 kB / 0.9404 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.2429, allocations: 239.2 kB / 0.9406 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.243, allocations: 95.12 kB / 0.9407 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/0.2432, allocations: 87.53 kB / 0.9408 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0003215/0.2435, allocations: 0.5118 MB / 0.9413 GB, free: 13.58 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006046/0.2441, allocations: 160.5 kB / 0.9414 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007644/0.2449, allocations: 345.6 kB / 0.9417 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.2461, allocations: 358.9 kB / 0.9421 GB, free: 12.67 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.2461, allocations: 0 / 0.9421 GB, free: 12.67 MB / 0.9011 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.004726/0.2509, allocations: 0.6968 MB / 0.9428 GB, free: 11.96 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/0.2509, allocations: 4 kB / 0.9428 GB, free: 11.96 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.2509, allocations: 4 kB / 0.9428 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00312/0.254, allocations: 407 kB / 0.9432 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00048/0.2545, allocations: 59.89 kB / 0.9432 GB, free: 11.49 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01093/0.2654, allocations: 4.453 MB / 0.9476 GB, free: 6.789 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006322/0.2661, allocations: 47.86 kB / 0.9476 GB, free: 6.742 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.604e-05/0.2661, allocations: 15.97 kB / 0.9476 GB, free: 6.727 MB / 0.9011 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.0002839/0.2664, allocations: 192.4 kB / 0.9478 GB, free: 6.527 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.2665, allocations: 31.86 kB / 0.9478 GB, free: 6.496 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004971/0.2715, allocations: 0.7514 MB / 0.9486 GB, free: 5.734 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.2715, allocations: 4 kB / 0.9486 GB, free: 5.73 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.2715, allocations: 4 kB / 0.9486 GB, free: 5.727 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.2715, allocations: 3.938 kB / 0.9486 GB, free: 5.723 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005799/0.2721, allocations: 328.2 kB / 0.9489 GB, free: 5.367 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.2721, allocations: 0 / 0.9489 GB, free: 5.367 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003915/0.2725, allocations: 55.89 kB / 0.949 GB, free: 5.312 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003015/0.2755, allocations: 399 kB / 0.9493 GB, free: 4.914 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.329e-05/0.2755, allocations: 19.91 kB / 0.9494 GB, free: 4.895 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01041/0.2859, allocations: 4.444 MB / 0.9537 GB, free: 212 kB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.286, allocations: 7.938 kB / 0.9537 GB, free: 204 kB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004773/0.2907, allocations: 0.8151 MB / 0.9545 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.786e-05/0.2908, allocations: 23.78 kB / 0.9545 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.148e-05/0.2909, allocations: 12 kB / 0.9545 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000518/0.2914, allocations: 27.92 kB / 0.9546 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.2915, allocations: 19.95 kB / 0.9546 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.346e-05/0.2915, allocations: 11.98 kB / 0.9546 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002369/0.2918, allocations: 221.1 kB / 0.9548 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9e-08/0.2918, allocations: 0 / 0.9548 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0006422/0.2924, allocations: 123.8 kB / 0.9549 GB, free: 14.93 MB / 0.9167 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.0002594/0.2927, allocations: 127.1 kB / 0.955 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002145/0.2948, allocations: 0.7629 MB / 0.9558 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2948, allocations: 0 / 0.9558 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001322/0.2961, allocations: 0.5851 MB / 0.9564 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006185/0.2967, allocations: 100.2 kB / 0.9565 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.2985, allocations: 0.5867 MB / 0.957 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002035/0.2987, allocations: 163.5 kB / 0.9572 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003563/0.299, allocations: 62.22 kB / 0.9572 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.2992, allocations: 32.47 kB / 0.9573 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of SimCode: time 7.41e-07/0.2992, allocations: 0 / 0.9573 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of Templates: time 0.02454/0.3237, allocations: 13.68 MB / 0.9706 GB, free: 14.8 MB / 0.9323 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 240] 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: 8.431707469979301]