Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007826/0.007826, allocations: 102 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001846/0.001846, allocations: 187.9 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.657/2.657, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 67.89 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.29, allocations: 151.6 MB / 1.166 GB, free: 7.266 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003519/0.2936, allocations: 1.91 MB / 1.168 GB, free: 5.336 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7693/1.063, allocations: 155.4 MB / 1.32 GB, free: 10.09 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001674/1.063, allocations: 6.469 kB / 1.32 GB, free: 10.08 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000196/1.063, allocations: 25.95 kB / 1.32 GB, free: 10.07 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000314/1.064, allocations: 73.73 kB / 1.32 GB, free: 10.02 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008245/1.065, allocations: 266 kB / 1.32 GB, free: 9.953 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003022/1.065, allocations: 267.3 kB / 1.32 GB, free: 9.902 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/1.065, allocations: 72.22 kB / 1.32 GB, free: 9.887 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001302/1.066, allocations: 249.1 kB / 1.321 GB, free: 9.848 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/1.067, allocations: 92.52 kB / 1.321 GB, free: 9.828 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.965e-05/1.067, allocations: 18.88 kB / 1.321 GB, free: 9.824 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003913/1.067, allocations: 181.2 kB / 1.321 GB, free: 9.809 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.939e-05/1.067, allocations: 47.08 kB / 1.321 GB, free: 9.801 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001131/1.067, allocations: 90.23 kB / 1.321 GB, free: 9.773 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004569/1.068, allocations: 281.1 kB / 1.321 GB, free: 9.715 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/1.068, allocations: 0 / 1.321 GB, free: 9.715 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.252e-06/1.068, allocations: 1.656 kB / 1.321 GB, free: 9.715 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.951e-06/1.068, allocations: 0 / 1.321 GB, free: 9.715 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009596/1.069, allocations: 0.5312 MB / 1.322 GB, free: 9.285 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/1.069, allocations: 10.09 kB / 1.322 GB, free: 9.285 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.689e-05/1.069, allocations: 50.42 kB / 1.322 GB, free: 9.246 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008669/1.07, allocations: 87.31 kB / 1.322 GB, free: 9.23 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/1.07, allocations: 230.3 kB / 1.322 GB, free: 9.012 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.071e-05/1.07, allocations: 41.03 kB / 1.322 GB, free: 8.98 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.775e-05/1.07, allocations: 18.41 kB / 1.322 GB, free: 8.977 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005342/1.071, allocations: 254.5 kB / 1.323 GB, free: 8.879 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/1.071, allocations: 2.047 kB / 1.323 GB, free: 8.879 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.845e-05/1.071, allocations: 13.19 kB / 1.323 GB, free: 8.875 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/1.071, allocations: 3.906 kB / 1.323 GB, free: 8.875 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004662/1.071, allocations: 166.3 kB / 1.323 GB, free: 8.867 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/1.073, allocations: 1.185 MB / 1.324 GB, free: 7.961 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007854/1.074, allocations: 209.6 kB / 1.324 GB, free: 7.93 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/1.074, allocations: 74.19 kB / 1.324 GB, free: 7.918 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/1.074, allocations: 5.297 kB / 1.324 GB, free: 7.914 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/1.074, allocations: 35.86 kB / 1.324 GB, free: 7.875 MB / 1.014 GB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/1.074, allocations: 0 / 1.324 GB, free: 7.875 MB / 1.014 GB Notification: Performance of matching and sorting (n=12): time 0.00279/1.077, allocations: 0.6293 MB / 1.325 GB, free: 7.543 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/1.077, allocations: 53.33 kB / 1.325 GB, free: 7.48 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002735/1.077, allocations: 212.5 kB / 1.325 GB, free: 7.348 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/1.077, allocations: 25.7 kB / 1.325 GB, free: 7.316 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.721e-05/1.077, allocations: 150.2 kB / 1.325 GB, free: 7.18 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.093e-05/1.077, allocations: 36.86 kB / 1.325 GB, free: 7.152 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/1.077, allocations: 55.7 kB / 1.325 GB, free: 7.117 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.077, allocations: 330 kB / 1.326 GB, free: 6.793 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/1.078, allocations: 66.86 kB / 1.326 GB, free: 6.777 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002973/1.078, allocations: 139 kB / 1.326 GB, free: 6.676 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004401/1.078, allocations: 195.1 kB / 1.326 GB, free: 6.559 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/1.078, allocations: 0 / 1.326 GB, free: 6.559 MB / 1.014 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001543/1.08, allocations: 382.9 kB / 1.326 GB, free: 6.41 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/1.08, allocations: 6.906 kB / 1.326 GB, free: 6.41 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/1.08, allocations: 2.031 kB / 1.326 GB, free: 6.41 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00114/1.081, allocations: 165.7 kB / 1.327 GB, free: 6.371 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/1.081, allocations: 39.5 kB / 1.327 GB, free: 6.367 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004293/1.086, allocations: 3.239 MB / 1.33 GB, free: 3.344 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004281/1.086, allocations: 35.41 kB / 1.33 GB, free: 3.328 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-05/1.086, allocations: 8.578 kB / 1.33 GB, free: 3.328 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * 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,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001814/1.086, allocations: 144.3 kB / 1.33 GB, free: 3.188 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.472e-05/1.087, allocations: 16.22 kB / 1.33 GB, free: 3.18 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001428/1.088, allocations: 373.1 kB / 1.33 GB, free: 3.027 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/1.088, allocations: 1.438 kB / 1.33 GB, free: 3.027 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/1.088, allocations: 0.75 kB / 1.33 GB, free: 3.027 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.477e-06/1.088, allocations: 2.141 kB / 1.33 GB, free: 3.027 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004129/1.088, allocations: 287.5 kB / 1.331 GB, free: 2.777 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/1.088, allocations: 1.406 kB / 1.331 GB, free: 2.777 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/1.089, allocations: 23.38 kB / 1.331 GB, free: 2.773 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008766/1.089, allocations: 145.1 kB / 1.331 GB, free: 2.734 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/1.09, allocations: 6.141 kB / 1.331 GB, free: 2.73 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003923/1.093, allocations: 3.299 MB / 1.334 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.093, allocations: 1.25 kB / 1.334 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/1.095, allocations: 430.3 kB / 1.334 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/1.095, allocations: 114.6 kB / 1.334 GB, free: 15.33 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/1.095, allocations: 1.156 kB / 1.334 GB, free: 15.33 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003136/1.095, allocations: 15.19 kB / 1.335 GB, free: 15.33 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/1.096, allocations: 23.27 kB / 1.335 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/1.096, allocations: 6.609 kB / 1.335 GB, free: 15.32 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002567/1.096, allocations: 164 kB / 1.335 GB, free: 15.21 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.8e-07/1.096, allocations: 0 / 1.335 GB, free: 15.21 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005629/1.096, allocations: 78.03 kB / 1.335 GB, free: 15.2 MB / 1.029 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 (12): * Single equations (assignments): 10 * 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,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001909/1.098, allocations: 0.9736 MB / 1.336 GB, free: 14.43 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00133/1.1, allocations: 444.4 kB / 1.336 GB, free: 14.15 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.1, allocations: 7.938 kB / 1.336 GB, free: 14.14 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008029/1.101, allocations: 351.6 kB / 1.336 GB, free: 13.88 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005332/1.101, allocations: 62.03 kB / 1.337 GB, free: 13.86 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005671/1.107, allocations: 2.525 MB / 1.339 GB, free: 12.14 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/1.107, allocations: 0.7341 MB / 1.34 GB, free: 11.44 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000197/1.107, allocations: 45.03 kB / 1.34 GB, free: 11.42 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/1.107, allocations: 52.33 kB / 1.34 GB, free: 11.38 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/1.107, allocations: 1 kB / 1.34 GB, free: 11.38 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03004/1.137, allocations: 7.294 MB / 1.347 GB, free: 10.65 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/12.66, allocations: 1.734 kB / 1.347 GB, free: 10.65 MB / 1.029 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches