Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 113.3 kB / 17.08 MB, free: 5.797 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00184/0.00184, allocations: 190.2 kB / 20.02 MB, free: 2.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.945/2.945, allocations: 489.3 MB / 0.7687 GB, free: 3.949 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=2500,variableFilter="time|theCom.M|theCom.TOpe|theCom.TAir|theCom.TRad|theCom.TClo|theCom.TSki|theCom.PMV|theCom.PPD|theCom.vAir",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Comfort.Examples.Fanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 63.89 kB / 1.103 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.912/0.914, allocations: 163.8 MB / 1.263 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003425/0.9175, allocations: 2.327 MB / 1.265 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1888/1.106, allocations: 152 MB / 1.413 GB, free: 5.766 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003252/1.107, allocations: 7.844 kB / 1.413 GB, free: 5.762 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.000203/1.107, allocations: 41.75 kB / 1.413 GB, free: 5.723 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0003767/1.107, allocations: 107.7 kB / 1.413 GB, free: 5.633 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008057/1.108, allocations: 298.4 kB / 1.414 GB, free: 5.406 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0004457/1.109, allocations: 431.3 kB / 1.414 GB, free: 5.152 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002142/1.109, allocations: 112.1 kB / 1.414 GB, free: 5.086 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001379/1.11, allocations: 276.9 kB / 1.414 GB, free: 4.957 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000284/1.11, allocations: 185.8 kB / 1.415 GB, free: 4.832 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 5.769e-05/1.11, allocations: 30.44 kB / 1.415 GB, free: 4.832 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005752/1.111, allocations: 278.4 kB / 1.415 GB, free: 4.703 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 9.929e-05/1.111, allocations: 79.38 kB / 1.415 GB, free: 4.637 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001713/1.111, allocations: 162.9 kB / 1.415 GB, free: 4.523 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0006928/1.112, allocations: 498.9 kB / 1.416 GB, free: 4.199 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/1.112, allocations: 4 kB / 1.416 GB, free: 4.195 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.333e-06/1.112, allocations: 0 / 1.416 GB, free: 4.195 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.352e-06/1.112, allocations: 0 / 1.416 GB, free: 4.195 MB / 1.107 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.001459/1.114, allocations: 0.7185 MB / 1.416 GB, free: 3.59 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/1.114, allocations: 13.27 kB / 1.416 GB, free: 3.586 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002707/1.116, allocations: 258.9 kB / 1.417 GB, free: 3.48 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004244/1.117, allocations: 301.4 kB / 1.417 GB, free: 3.184 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/1.117, allocations: 23.5 kB / 1.417 GB, free: 3.172 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.886e-05/1.117, allocations: 34.38 kB / 1.417 GB, free: 3.156 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/1.118, allocations: 430 kB / 1.417 GB, free: 2.895 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/1.118, allocations: 1.406 kB / 1.417 GB, free: 2.895 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.392e-05/1.118, allocations: 10.56 kB / 1.417 GB, free: 2.887 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/1.118, allocations: 14.03 kB / 1.417 GB, free: 2.879 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002303/1.121, allocations: 0.5285 MB / 1.418 GB, free: 2.613 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003078/1.124, allocations: 1.128 MB / 1.419 GB, free: 1.762 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002322/1.126, allocations: 457 kB / 1.419 GB, free: 1.531 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/1.127, allocations: 235.2 kB / 1.42 GB, free: 1.41 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 4.089e-05/1.127, allocations: 4.047 kB / 1.42 GB, free: 1.41 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/1.127, allocations: 36.06 kB / 1.42 GB, free: 1.367 MB / 1.107 GB Notification: Performance of pre-optimization done (n=25): time 2.234e-06/1.127, allocations: 0 / 1.42 GB, free: 1.367 MB / 1.107 GB Notification: Performance of matching and sorting (n=25): time 0.01613/1.143, allocations: 1.722 MB / 1.421 GB, free: 444 kB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/1.144, allocations: 61.97 kB / 1.421 GB, free: 372 kB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004081/1.144, allocations: 313.1 kB / 1.422 GB, free: 160 kB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 8.128e-05/1.144, allocations: 30.8 kB / 1.422 GB, free: 124 kB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/1.144, allocations: 171.3 kB / 1.422 GB, free: 15.96 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/1.144, allocations: 88.78 kB / 1.422 GB, free: 15.89 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/1.144, allocations: 71.23 kB / 1.422 GB, free: 15.83 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001618/1.145, allocations: 346.4 kB / 1.422 GB, free: 15.49 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/1.146, allocations: 202.2 kB / 1.423 GB, free: 15.39 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/1.147, allocations: 260.1 kB / 1.423 GB, free: 15.23 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002099/1.149, allocations: 432.2 kB / 1.423 GB, free: 15.01 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/1.149, allocations: 5.188 kB / 1.423 GB, free: 15 MB / 1.123 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007114/1.156, allocations: 0.893 MB / 1.424 GB, free: 14.55 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/1.156, allocations: 6.438 kB / 1.424 GB, free: 14.55 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/1.156, allocations: 3.984 kB / 1.424 GB, free: 14.54 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00193/1.158, allocations: 287.8 kB / 1.424 GB, free: 14.39 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000514/1.159, allocations: 65.95 kB / 1.424 GB, free: 14.37 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.015/1.174, allocations: 4.09 MB / 1.428 GB, free: 10.8 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009224/1.175, allocations: 84.3 kB / 1.429 GB, free: 10.75 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.598e-05/1.175, allocations: 20.09 kB / 1.429 GB, free: 10.73 MB / 1.123 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.0002364/1.175, allocations: 143.1 kB / 1.429 GB, free: 10.6 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-05/1.175, allocations: 33.83 kB / 1.429 GB, free: 10.58 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007297/1.182, allocations: 0.941 MB / 1.43 GB, free: 10.06 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/1.182, allocations: 2.312 kB / 1.43 GB, free: 10.06 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/1.182, allocations: 5.031 kB / 1.43 GB, free: 10.05 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/1.182, allocations: 3.984 kB / 1.43 GB, free: 10.05 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006774/1.183, allocations: 427.7 kB / 1.43 GB, free: 9.668 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/1.183, allocations: 3.984 kB / 1.43 GB, free: 9.664 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004043/1.184, allocations: 54.02 kB / 1.43 GB, free: 9.648 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001831/1.185, allocations: 278.2 kB / 1.43 GB, free: 9.504 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.125e-05/1.185, allocations: 15.03 kB / 1.43 GB, free: 9.492 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01462/1.2, allocations: 4.073 MB / 1.434 GB, free: 5.93 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.2, allocations: 1.062 kB / 1.434 GB, free: 5.93 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007118/1.207, allocations: 0.9615 MB / 1.435 GB, free: 5.379 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001692/1.207, allocations: 117.1 kB / 1.435 GB, free: 5.254 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.119e-05/1.208, allocations: 10.7 kB / 1.435 GB, free: 5.246 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007276/1.208, allocations: 44.7 kB / 1.436 GB, free: 5.227 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.45e-05/1.208, allocations: 15.72 kB / 1.436 GB, free: 5.219 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.015e-05/1.208, allocations: 27.44 kB / 1.436 GB, free: 5.199 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002615/1.209, allocations: 222.8 kB / 1.436 GB, free: 5.059 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.2e-07/1.209, allocations: 0 / 1.436 GB, free: 5.059 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0006046/1.209, allocations: 123 kB / 1.436 GB, free: 5.035 MB / 1.123 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.000256/1.21, allocations: 127 kB / 1.436 GB, free: 4.926 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002865/1.212, allocations: 0.7195 MB / 1.437 GB, free: 4.453 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.212, allocations: 1.188 kB / 1.437 GB, free: 4.453 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001608/1.214, allocations: 0.4977 MB / 1.437 GB, free: 4.082 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007136/1.215, allocations: 114.1 kB / 1.437 GB, free: 4.016 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002706/1.218, allocations: 0.7276 MB / 1.438 GB, free: 3.43 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/1.218, allocations: 0.7606 MB / 1.439 GB, free: 2.645 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/1.218, allocations: 43.41 kB / 1.439 GB, free: 2.602 MB / 1.123 GB Notification: Performance of SimCode: time 5.61e-07/1.218, allocations: 0 / 1.439 GB, free: 2.602 MB / 1.123 GB Notification: Performance of Templates: time 0.01307/1.231, allocations: 8.315 MB / 1.447 GB, free: 10.3 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.179757572943345]