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.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.001299/0.001299, allocations: 105.8 kB / 16.45 MB, free: 6.445 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.001281/0.001281, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.465/1.465, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.903/2.903, allocations: 476.7 MB / 0.7611 GB, free: 15.79 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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: "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_11_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_11_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002168/0.002168, allocations: 71.88 kB / 1.104 GB, free: 6.621 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9439/0.9461, allocations: 168.7 MB / 1.269 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003271/0.9493, allocations: 2.312 MB / 1.271 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1995/1.149, allocations: 152.5 MB / 1.42 GB, free: 5.031 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003011/1.149, allocations: 3.969 kB / 1.42 GB, free: 5.031 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.000235/1.149, allocations: 45.41 kB / 1.42 GB, free: 4.988 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.000484/1.15, allocations: 103.6 kB / 1.42 GB, free: 4.902 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00087/1.151, allocations: 299.3 kB / 1.42 GB, free: 4.676 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0005905/1.151, allocations: 434.9 kB / 1.421 GB, free: 4.418 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/1.152, allocations: 76.81 kB / 1.421 GB, free: 4.363 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001586/1.153, allocations: 283.8 kB / 1.421 GB, free: 4.23 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000322/1.153, allocations: 190 kB / 1.421 GB, free: 4.102 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 7.242e-05/1.154, allocations: 30.19 kB / 1.421 GB, free: 4.102 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006911/1.154, allocations: 275.2 kB / 1.422 GB, free: 3.977 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001062/1.154, allocations: 83.25 kB / 1.422 GB, free: 3.906 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0002178/1.155, allocations: 166.1 kB / 1.422 GB, free: 3.789 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0007574/1.155, allocations: 499.4 kB / 1.422 GB, free: 3.461 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/1.155, allocations: 5.531 kB / 1.422 GB, free: 3.457 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.322e-06/1.155, allocations: 0 / 1.422 GB, free: 3.457 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.193e-06/1.155, allocations: 0 / 1.422 GB, free: 3.457 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.001591/1.157, allocations: 0.7215 MB / 1.423 GB, free: 2.848 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/1.157, allocations: 10.22 kB / 1.423 GB, free: 2.848 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.667e-05/1.157, allocations: 59.11 kB / 1.423 GB, free: 2.789 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002923/1.16, allocations: 257.6 kB / 1.423 GB, free: 2.684 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004941/1.16, allocations: 309.8 kB / 1.424 GB, free: 2.379 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/1.16, allocations: 23.34 kB / 1.424 GB, free: 2.367 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.858e-05/1.161, allocations: 30.06 kB / 1.424 GB, free: 2.355 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/1.162, allocations: 427 kB / 1.424 GB, free: 2.098 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/1.162, allocations: 0 / 1.424 GB, free: 2.098 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.492e-05/1.162, allocations: 19.25 kB / 1.424 GB, free: 2.082 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/1.162, allocations: 5.469 kB / 1.424 GB, free: 2.082 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002409/1.165, allocations: 0.522 MB / 1.425 GB, free: 1.828 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003363/1.168, allocations: 1.132 MB / 1.426 GB, free: 0.9688 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002451/1.17, allocations: 454.4 kB / 1.426 GB, free: 0.7344 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/1.171, allocations: 219.9 kB / 1.426 GB, free: 0.6211 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 4.312e-05/1.171, allocations: 11.58 kB / 1.426 GB, free: 0.6133 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001286/1.172, allocations: 39.88 kB / 1.426 GB, free: 0.5664 MB / 1.107 GB Notification: Performance of pre-optimization done (n=25): time 1.623e-06/1.172, allocations: 0 / 1.426 GB, free: 0.5664 MB / 1.107 GB Notification: Performance of matching and sorting (n=25): time 0.01617/1.188, allocations: 1.724 MB / 1.428 GB, free: 15.63 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/1.188, allocations: 59.14 kB / 1.428 GB, free: 15.57 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004388/1.188, allocations: 297.5 kB / 1.428 GB, free: 15.37 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.303e-05/1.188, allocations: 30.86 kB / 1.428 GB, free: 15.34 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/1.188, allocations: 178.3 kB / 1.429 GB, free: 15.17 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/1.189, allocations: 93.73 kB / 1.429 GB, free: 15.09 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000175/1.189, allocations: 75.2 kB / 1.429 GB, free: 15.03 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001791/1.189, allocations: 341.7 kB / 1.429 GB, free: 14.7 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/1.19, allocations: 209.5 kB / 1.429 GB, free: 14.59 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/1.191, allocations: 261.2 kB / 1.43 GB, free: 14.43 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002199/1.193, allocations: 432.5 kB / 1.43 GB, free: 14.2 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/1.193, allocations: 1.188 kB / 1.43 GB, free: 14.2 MB / 1.123 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007277/1.201, allocations: 0.8918 MB / 1.431 GB, free: 13.75 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/1.201, allocations: 5.406 kB / 1.431 GB, free: 13.75 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/1.201, allocations: 1.438 kB / 1.431 GB, free: 13.75 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001972/1.203, allocations: 275.1 kB / 1.431 GB, free: 13.61 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005222/1.203, allocations: 70.22 kB / 1.431 GB, free: 13.58 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01587/1.219, allocations: 4.094 MB / 1.435 GB, free: 10.01 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008944/1.22, allocations: 75.44 kB / 1.435 GB, free: 9.969 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.959e-05/1.22, allocations: 16.5 kB / 1.435 GB, free: 9.961 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.0002361/1.22, allocations: 151.3 kB / 1.435 GB, free: 9.816 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/1.22, allocations: 29.97 kB / 1.435 GB, free: 9.801 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00733/1.228, allocations: 0.9493 MB / 1.436 GB, free: 9.094 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/1.228, allocations: 7.938 kB / 1.436 GB, free: 9.086 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/1.228, allocations: 0 / 1.436 GB, free: 9.086 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/1.228, allocations: 0 / 1.436 GB, free: 9.086 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006117/1.228, allocations: 432.7 kB / 1.437 GB, free: 8.613 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/1.228, allocations: 0 / 1.437 GB, free: 8.613 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004059/1.229, allocations: 55.95 kB / 1.437 GB, free: 8.559 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001827/1.231, allocations: 273.4 kB / 1.437 GB, free: 8.285 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.545e-05/1.231, allocations: 23.91 kB / 1.437 GB, free: 8.262 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01533/1.246, allocations: 4.085 MB / 1.441 GB, free: 3.887 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.246, allocations: 3.984 kB / 1.441 GB, free: 3.883 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007269/1.253, allocations: 0.9574 MB / 1.442 GB, free: 2.902 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/1.253, allocations: 104.9 kB / 1.442 GB, free: 2.781 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.206e-05/1.253, allocations: 15.92 kB / 1.442 GB, free: 2.766 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007708/1.254, allocations: 43.95 kB / 1.442 GB, free: 2.723 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.237e-05/1.254, allocations: 19.92 kB / 1.442 GB, free: 2.703 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.417e-05/1.254, allocations: 15.97 kB / 1.442 GB, free: 2.688 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002683/1.255, allocations: 231 kB / 1.442 GB, free: 2.465 MB / 1.123 GB Notification: Performance of sort global known variables: time 1e-07/1.255, allocations: 4 kB / 1.442 GB, free: 2.461 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0006184/1.255, allocations: 115.9 kB / 1.443 GB, free: 2.348 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.00765/1.263, allocations: 1.511 MB / 1.444 GB, free: 0.8047 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.003009/1.266, allocations: 0.7202 MB / 1.445 GB, free: 60 kB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.266, allocations: 0 / 1.445 GB, free: 60 kB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001673/1.268, allocations: 0.4972 MB / 1.445 GB, free: 15.53 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007414/1.268, allocations: 97.3 kB / 1.445 GB, free: 15.44 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0204/1.289, allocations: 4.388 MB / 1.45 GB, free: 10.95 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004387/1.289, allocations: 0.7684 MB / 1.45 GB, free: 10.15 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0004228/1.29, allocations: 74.89 kB / 1.45 GB, free: 10.07 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002318/1.29, allocations: 99.39 kB / 1.45 GB, free: 9.977 MB / 1.139 GB Notification: Performance of SimCode: time 1.002e-06/1.29, allocations: 0 / 1.45 GB, free: 9.977 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05055/1.34, allocations: 16.72 MB / 1.467 GB, free: 9.426 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/14.5, allocations: 0 / 1.467 GB, free: 9.426 MB / 1.154 GB " [Timeout remaining time 285] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Comfort_Examples_Fanger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 420.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 20.844297405797988]