Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001531/0.001531, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.001617/0.001617, allocations: 161.3 kB / 23.55 MB, free: 0.8633 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.457/1.457, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.862/2.862, allocations: 377.9 MB / 0.6232 GB, free: 8.5 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Utilities.Comfort.Examples.Fanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.273e-05/1.273e-05, allocations: 0 / 0.8108 GB, free: 2.156 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.916e-05/4.189e-05, allocations: 10.2 kB / 0.8108 GB, free: 2.148 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.004135/0.004177, allocations: 2.194 MB / 0.8129 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.19/0.1942, allocations: 133.6 MB / 0.9434 GB, free: 9.855 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002392/0.1945, allocations: 7.938 kB / 0.9434 GB, free: 9.848 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0002404/0.1947, allocations: 47.47 kB / 0.9435 GB, free: 9.801 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.000464/0.1952, allocations: 103.1 kB / 0.9436 GB, free: 9.699 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008901/0.1961, allocations: 314.7 kB / 0.9439 GB, free: 9.391 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0006178/0.1967, allocations: 439.5 kB / 0.9443 GB, free: 8.961 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002146/0.1969, allocations: 72.33 kB / 0.9444 GB, free: 8.891 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00196/0.1989, allocations: 416.7 kB / 0.9448 GB, free: 8.562 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002903/0.1991, allocations: 147.5 kB / 0.9449 GB, free: 8.418 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 7.029e-05/0.1992, allocations: 36 kB / 0.9449 GB, free: 8.383 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005787/0.1998, allocations: 271.4 kB / 0.9452 GB, free: 8.117 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.1999, allocations: 79.72 kB / 0.9453 GB, free: 8.039 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0001763/0.2001, allocations: 119.7 kB / 0.9454 GB, free: 7.922 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0008757/0.201, allocations: 0.5257 MB / 0.9459 GB, free: 7.395 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.201, allocations: 4 kB / 0.9459 GB, free: 7.391 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.032e-06/0.201, allocations: 0 / 0.9459 GB, free: 7.391 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.201, allocations: 0 / 0.9459 GB, free: 7.391 MB / 0.9011 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.001631/0.2026, allocations: 0.6336 MB / 0.9465 GB, free: 6.727 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.2026, allocations: 8.031 kB / 0.9465 GB, free: 6.719 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003362/0.206, allocations: 343.3 kB / 0.9469 GB, free: 6.383 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000495/0.2065, allocations: 249.5 kB / 0.9471 GB, free: 6.113 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.593e-05/0.2065, allocations: 20.66 kB / 0.9471 GB, free: 6.09 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.491e-05/0.2066, allocations: 27.94 kB / 0.9471 GB, free: 6.062 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.2082, allocations: 433.8 kB / 0.9476 GB, free: 5.637 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.2083, allocations: 0 / 0.9476 GB, free: 5.637 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.3e-05/0.2083, allocations: 8 kB / 0.9476 GB, free: 5.629 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.2083, allocations: 8 kB / 0.9476 GB, free: 5.621 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002491/0.2108, allocations: 0.5139 MB / 0.9481 GB, free: 5.109 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003379/0.2142, allocations: 0.9683 MB / 0.949 GB, free: 4.105 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002402/0.2166, allocations: 442.4 kB / 0.9494 GB, free: 3.664 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001134/0.2177, allocations: 226.4 kB / 0.9497 GB, free: 3.441 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.973e-05/0.2178, allocations: 4 kB / 0.9497 GB, free: 3.438 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.2178, allocations: 34.56 kB / 0.9497 GB, free: 3.395 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=25): time 1.563e-06/0.2178, allocations: 0 / 0.9497 GB, free: 3.395 MB / 0.9011 GB Notification: Performance of matching and sorting (n=25): time 0.01655/0.2343, allocations: 1.581 MB / 0.9512 GB, free: 1.801 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.2344, allocations: 59.41 kB / 0.9513 GB, free: 1.73 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003402/0.2347, allocations: 221.7 kB / 0.9515 GB, free: 1.512 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.548e-05/0.2348, allocations: 29.7 kB / 0.9515 GB, free: 1.477 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.235, allocations: 180.5 kB / 0.9517 GB, free: 1.293 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.2352, allocations: 91.61 kB / 0.9518 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/0.2354, allocations: 73.92 kB / 0.9519 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002249/0.2356, allocations: 330.8 kB / 0.9522 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/0.2367, allocations: 204.4 kB / 0.9524 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/0.2379, allocations: 366.9 kB / 0.9527 GB, free: 192 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002244/0.2402, allocations: 435.6 kB / 0.9531 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.2402, allocations: 3.938 kB / 0.9531 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007508/0.2477, allocations: 0.9006 MB / 0.954 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.2477, allocations: 4 kB / 0.954 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.2477, allocations: 4 kB / 0.954 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004472/0.2522, allocations: 0.5129 MB / 0.9545 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005206/0.2527, allocations: 59.89 kB / 0.9546 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01599/0.2687, allocations: 3.8 MB / 0.9583 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000875/0.2696, allocations: 67.78 kB / 0.9584 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.543e-05/0.2697, allocations: 19.97 kB / 0.9584 GB, free: 10.16 MB / 0.9167 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.0002402/0.2699, allocations: 145.8 kB / 0.9585 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.27, allocations: 35.8 kB / 0.9586 GB, free: 9.973 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007788/0.2778, allocations: 0.9371 MB / 0.9595 GB, free: 9.027 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.2778, allocations: 0 / 0.9595 GB, free: 9.027 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.2778, allocations: 0 / 0.9595 GB, free: 9.027 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.2778, allocations: 7.938 kB / 0.9595 GB, free: 9.02 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005582/0.2784, allocations: 288.9 kB / 0.9598 GB, free: 8.707 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.2784, allocations: 3.984 kB / 0.9598 GB, free: 8.703 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000432/0.2788, allocations: 51.89 kB / 0.9598 GB, free: 8.652 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004287/0.2831, allocations: 0.5089 MB / 0.9603 GB, free: 8.137 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.517e-05/0.2832, allocations: 15.97 kB / 0.9603 GB, free: 8.121 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01571/0.2989, allocations: 3.798 MB / 0.964 GB, free: 4.113 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.2989, allocations: 0 / 0.964 GB, free: 4.113 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008711/0.3076, allocations: 0.9649 MB / 0.965 GB, free: 3.121 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.3077, allocations: 27.75 kB / 0.965 GB, free: 3.094 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/0.3079, allocations: 8 kB / 0.965 GB, free: 3.086 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/0.3092, allocations: 47.89 kB / 0.965 GB, free: 3.039 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001751/0.3094, allocations: 27.89 kB / 0.9651 GB, free: 3.012 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.053e-05/0.3094, allocations: 15.97 kB / 0.9651 GB, free: 2.996 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0004118/0.3099, allocations: 165.2 kB / 0.9652 GB, free: 2.832 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3099, allocations: 0 / 0.9652 GB, free: 2.832 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001062/0.3109, allocations: 127.8 kB / 0.9654 GB, free: 2.707 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.0003778/0.3113, allocations: 119.1 kB / 0.9655 GB, free: 2.582 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.004707/0.316, allocations: 0.7135 MB / 0.9662 GB, free: 1.844 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.316, allocations: 0 / 0.9662 GB, free: 1.844 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002725/0.3187, allocations: 489.5 kB / 0.9666 GB, free: 1.34 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.3198, allocations: 100.3 kB / 0.9667 GB, free: 1.242 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003847/0.3236, allocations: 0.638 MB / 0.9674 GB, free: 0.5742 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.3239, allocations: 163.8 kB / 0.9675 GB, free: 404 kB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.00063/0.3245, allocations: 70.2 kB / 0.9676 GB, free: 332 kB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002295/0.3248, allocations: 32.47 kB / 0.9676 GB, free: 300 kB / 0.9167 GB Notification: Performance of SimCode: time 8.92e-07/0.3248, allocations: 0 / 0.9676 GB, free: 300 kB / 0.9167 GB Notification: Performance of Templates: time 0.03553/0.3603, allocations: 13.26 MB / 0.9806 GB, free: 3.148 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.320970020024106]