Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.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.Phi_pTX,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",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.006965/0.006965, allocations: 101.3 kB / 15.73 MB, free: 6.438 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.001418/0.001418, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.289 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.648/2.648, allocations: 437 MB / 0.7105 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 56.14 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2821, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002597/0.2847, allocations: 1.504 MB / 1.168 GB, free: 5.773 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001228/0.286, allocations: 0.7991 MB / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.839e-05/0.286, allocations: 4 kB / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.687e-05/0.286, allocations: 3.938 kB / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.462e-05/0.2861, allocations: 7.922 kB / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004828/0.2866, allocations: 135.4 kB / 1.169 GB, free: 4.82 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.767e-05/0.2867, allocations: 55.78 kB / 1.169 GB, free: 4.766 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.2868, allocations: 19.98 kB / 1.169 GB, free: 4.746 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.133e-05/0.2869, allocations: 19.92 kB / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.714e-05/0.2869, allocations: 19.92 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.287, allocations: 8 kB / 1.169 GB, free: 4.699 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00035/0.2873, allocations: 167.7 kB / 1.169 GB, free: 4.535 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.861e-05/0.2873, allocations: 11.92 kB / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.07e-05/0.2874, allocations: 19.94 kB / 1.169 GB, free: 4.504 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.2877, allocations: 155.3 kB / 1.169 GB, free: 4.355 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.2877, allocations: 3.984 kB / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2877, allocations: 0 / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.2877, allocations: 0 / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005337/0.2882, allocations: 395.2 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.2883, allocations: 15.97 kB / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.167e-05/0.2883, allocations: 34.75 kB / 1.169 GB, free: 3.855 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.815e-05/0.2884, allocations: 4.938 kB / 1.169 GB, free: 3.852 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.2885, allocations: 180.2 kB / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.2885, allocations: 4.375 kB / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.2885, allocations: 4.359 kB / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002579/0.2888, allocations: 78.19 kB / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.2888, allocations: 3.938 kB / 1.17 GB, free: 3.543 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.2888, allocations: 4 kB / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.2888, allocations: 0 / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002884/0.2891, allocations: 67.92 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003473/0.2895, allocations: 292.6 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.2897, allocations: 54.55 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.2898, allocations: 40.91 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001756/0.29, allocations: 89.09 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.2901, allocations: 30.56 kB / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.2901, allocations: 4 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005184/0.2906, allocations: 133.5 kB / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.2906, allocations: 51.41 kB / 1.17 GB, free: 2.684 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.212e-05/0.2907, allocations: 117.8 kB / 1.171 GB, free: 2.559 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.2907, allocations: 25.7 kB / 1.171 GB, free: 2.527 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.037e-05/0.2908, allocations: 88.05 kB / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.2908, allocations: 15.89 kB / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/0.2909, allocations: 9.719 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.291, allocations: 326.8 kB / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.2911, allocations: 31.95 kB / 1.171 GB, free: 2.047 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.2913, allocations: 31.97 kB / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.2915, allocations: 72.72 kB / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2915, allocations: 0 / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003144/0.2919, allocations: 97.62 kB / 1.171 GB, free: 1.84 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.2919, allocations: 6.031 kB / 1.171 GB, free: 1.836 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.2919, allocations: 0 / 1.171 GB, free: 1.836 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.2919, allocations: 0 / 1.171 GB, free: 1.836 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.292, allocations: 27.91 kB / 1.171 GB, free: 1.809 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.292, allocations: 0 / 1.171 GB, free: 1.809 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.896e-05/0.2921, allocations: 15.89 kB / 1.171 GB, free: 1.793 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.2921, allocations: 0 / 1.171 GB, free: 1.793 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.517e-05/0.2922, allocations: 113.8 kB / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.2923, allocations: 4 kB / 1.171 GB, free: 1.668 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003504/0.2926, allocations: 117.4 kB / 1.171 GB, free: 1.539 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.2926, allocations: 384 / 1.171 GB, free: 1.539 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2926, allocations: 0 / 1.171 GB, free: 1.539 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.2927, allocations: 7.922 kB / 1.171 GB, free: 1.531 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/0.2928, allocations: 173.6 kB / 1.172 GB, free: 1.312 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2929, allocations: 0 / 1.172 GB, free: 1.312 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.88e-05/0.293, allocations: 15.97 kB / 1.172 GB, free: 1.297 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.293, allocations: 3.984 kB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.293, allocations: 8 kB / 1.172 GB, free: 1.285 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.293, allocations: 4 kB / 1.172 GB, free: 1.281 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.293, allocations: 0 / 1.172 GB, free: 1.281 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003539/0.2934, allocations: 199.3 kB / 1.172 GB, free: 1.07 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.02e-05/0.2934, allocations: 85.02 kB / 1.172 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.2934, allocations: 7.984 kB / 1.172 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.2935, allocations: 11.98 kB / 1.172 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.2936, allocations: 0 / 1.172 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.2936, allocations: 0 / 1.172 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.752e-05/0.2937, allocations: 99.27 kB / 1.172 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2937, allocations: 0 / 1.172 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002838/0.294, allocations: 24 kB / 1.172 GB, free: 0.8281 MB / 0.92 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007118/0.2947, allocations: 0.767 MB / 1.173 GB, free: 36 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003389/0.295, allocations: 75.86 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.295, allocations: 3.938 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.2952, allocations: 35.97 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.2955, allocations: 11.98 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.2973, allocations: 1.431 MB / 1.174 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.2975, allocations: 0.6807 MB / 1.175 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.898e-05/0.2976, allocations: 11.98 kB / 1.175 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.552e-05/0.2976, allocations: 15.44 kB / 1.175 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of SimCode: time 6.71e-07/0.2976, allocations: 4 kB / 1.175 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02019/0.3178, allocations: 2.448 MB / 1.177 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.528/7.846, allocations: 5.047 kB / 1.177 GB, free: 11.3 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches