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.0008349/0.0008349, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008429/0.0008429, allocations: 178.2 kB / 23.22 MB, free: 1.348 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 0.8876/0.8876, allocations: 177.2 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.733/1.733, allocations: 377.9 MB / 0.6229 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] 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.764e-06/1.764e-06, allocations: 0 / 0.9821 GB, free: 2.125 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.56e-05/2.736e-05, allocations: 9.875 kB / 0.9822 GB, free: 2.117 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002457/0.002485, allocations: 2.198 MB / 0.9843 GB, free: 15.91 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.5695/0.572, allocations: 133.6 MB / 1.115 GB, free: 21.25 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000278/0.5722, allocations: 7.906 kB / 1.115 GB, free: 21.24 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002393/0.5725, allocations: 46.84 kB / 1.115 GB, free: 21.21 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004011/0.5729, allocations: 110.5 kB / 1.115 GB, free: 21.13 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006029/0.5735, allocations: 304.5 kB / 1.115 GB, free: 20.98 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0003744/0.5739, allocations: 443.2 kB / 1.116 GB, free: 20.77 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.5741, allocations: 73.27 kB / 1.116 GB, free: 20.73 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/0.5751, allocations: 359.6 kB / 1.116 GB, free: 20.62 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001883/0.5753, allocations: 146.7 kB / 1.116 GB, free: 20.57 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.771e-05/0.5753, allocations: 30.09 kB / 1.116 GB, free: 20.57 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004153/0.5758, allocations: 269.3 kB / 1.117 GB, free: 20.51 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 8.051e-05/0.5758, allocations: 81.83 kB / 1.117 GB, free: 20.46 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.576, allocations: 113.7 kB / 1.117 GB, free: 20.41 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006402/0.5766, allocations: 0.5381 MB / 1.117 GB, free: 20.2 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.5766, allocations: 6.953 kB / 1.117 GB, free: 20.2 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.923e-06/0.5766, allocations: 0 / 1.117 GB, free: 20.2 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.5766, allocations: 1.188 kB / 1.117 GB, free: 20.2 MB / 0.9948 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.000896/0.5775, allocations: 0.6275 MB / 1.118 GB, free: 19.76 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.5775, allocations: 9.406 kB / 1.118 GB, free: 19.76 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001512/0.5791, allocations: 287.5 kB / 1.118 GB, free: 19.72 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/0.5794, allocations: 260.2 kB / 1.118 GB, free: 19.51 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.5794, allocations: 20.66 kB / 1.118 GB, free: 19.5 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.751e-05/0.5794, allocations: 26.75 kB / 1.118 GB, free: 19.5 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008691/0.5803, allocations: 430.8 kB / 1.119 GB, free: 19.35 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.5803, allocations: 0 / 1.119 GB, free: 19.35 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.362e-05/0.5803, allocations: 11.8 kB / 1.119 GB, free: 19.34 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.5803, allocations: 5.594 kB / 1.119 GB, free: 19.34 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.5815, allocations: 0.5203 MB / 1.119 GB, free: 19.2 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001723/0.5833, allocations: 0.9518 MB / 1.12 GB, free: 18.72 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/0.5845, allocations: 448.7 kB / 1.121 GB, free: 18.58 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005469/0.585, allocations: 213 kB / 1.121 GB, free: 18.52 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.565e-05/0.585, allocations: 4.094 kB / 1.121 GB, free: 18.52 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.471e-05/0.5851, allocations: 40.56 kB / 1.121 GB, free: 18.47 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=25): time 1.332e-06/0.5851, allocations: 0 / 1.121 GB, free: 18.47 MB / 0.9948 GB Notification: Performance of matching and sorting (n=25): time 0.007659/0.5927, allocations: 1.577 MB / 1.122 GB, free: 18.13 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.5927, allocations: 53.62 kB / 1.123 GB, free: 18.07 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.5929, allocations: 223.2 kB / 1.123 GB, free: 17.93 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.5929, allocations: 32.41 kB / 1.123 GB, free: 17.89 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 7.297e-05/0.593, allocations: 179.9 kB / 1.123 GB, free: 17.74 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 5.291e-05/0.5931, allocations: 89.7 kB / 1.123 GB, free: 17.67 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.5932, allocations: 74.64 kB / 1.123 GB, free: 17.63 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.387e-05/0.5932, allocations: 336.1 kB / 1.123 GB, free: 17.31 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005458/0.5938, allocations: 197.2 kB / 1.124 GB, free: 17.26 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005772/0.5943, allocations: 376.2 kB / 1.124 GB, free: 17 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.5954, allocations: 432.4 kB / 1.124 GB, free: 16.85 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.5954, allocations: 0 / 1.124 GB, free: 16.85 MB / 0.9948 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.003411/0.5988, allocations: 0.8882 MB / 1.125 GB, free: 16.6 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.5988, allocations: 6.984 kB / 1.125 GB, free: 16.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.5989, allocations: 1.156 kB / 1.125 GB, free: 16.6 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009691/0.5998, allocations: 277.9 kB / 1.126 GB, free: 16.54 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002332/0.6001, allocations: 68.75 kB / 1.126 GB, free: 16.54 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007083/0.6071, allocations: 3.81 MB / 1.129 GB, free: 13.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000358/0.6075, allocations: 62.14 kB / 1.129 GB, free: 13.78 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.541e-05/0.6075, allocations: 25.22 kB / 1.129 GB, free: 13.77 MB / 0.9948 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.0001193/0.6076, allocations: 139.9 kB / 1.13 GB, free: 13.64 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.748e-05/0.6077, allocations: 26.55 kB / 1.13 GB, free: 13.62 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003494/0.6112, allocations: 0.9358 MB / 1.13 GB, free: 13.36 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.6112, allocations: 2.562 kB / 1.13 GB, free: 13.36 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.6112, allocations: 1.531 kB / 1.13 GB, free: 13.36 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.6112, allocations: 5.531 kB / 1.13 GB, free: 13.36 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003063/0.6115, allocations: 300.9 kB / 1.131 GB, free: 13.16 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.6115, allocations: 0 / 1.131 GB, free: 13.16 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.6117, allocations: 61.83 kB / 1.131 GB, free: 13.14 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008844/0.6126, allocations: 277.4 kB / 1.131 GB, free: 13.09 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.133e-05/0.6126, allocations: 14.3 kB / 1.131 GB, free: 13.08 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006814/0.6194, allocations: 3.799 MB / 1.135 GB, free: 10.36 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.6194, allocations: 0.5469 kB / 1.135 GB, free: 10.36 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003388/0.6228, allocations: 0.9473 MB / 1.136 GB, free: 10.02 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.534e-05/0.6228, allocations: 28.3 kB / 1.136 GB, free: 10 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.6229, allocations: 9.531 kB / 1.136 GB, free: 10 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003257/0.6232, allocations: 41.72 kB / 1.136 GB, free: 9.996 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.541e-05/0.6233, allocations: 29.03 kB / 1.136 GB, free: 9.984 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/0.6233, allocations: 22.38 kB / 1.136 GB, free: 9.977 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 9.961e-05/0.6234, allocations: 165.4 kB / 1.136 GB, free: 9.879 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.6234, allocations: 0 / 1.136 GB, free: 9.879 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004932/0.6239, allocations: 124.8 kB / 1.136 GB, free: 9.855 MB / 0.9948 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.0001801/0.6241, allocations: 120.1 kB / 1.136 GB, free: 9.758 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001486/0.6256, allocations: 0.7104 MB / 1.137 GB, free: 9.41 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.6256, allocations: 0 / 1.137 GB, free: 9.41 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007603/0.6263, allocations: 0.4901 MB / 1.137 GB, free: 9.121 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.6267, allocations: 74.66 kB / 1.138 GB, free: 9.098 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.6281, allocations: 0.7069 MB / 1.138 GB, free: 8.715 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.6282, allocations: 159.3 kB / 1.138 GB, free: 8.633 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.6284, allocations: 34.3 kB / 1.138 GB, free: 8.621 MB / 0.9948 GB Notification: Performance of SimCode: time 5.91e-07/0.6284, allocations: 0 / 1.138 GB, free: 8.621 MB / 0.9948 GB Notification: Performance of Templates: time 0.008957/0.6373, allocations: 7.913 MB / 1.146 GB, free: 8.02 MB / 0.9948 GB " [Timeout remaining time 299] 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.142589140683413]