Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",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.001589/0.001588, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.00223/0.00223, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.205/2.205, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.733/4.733, allocations: 409.2 MB / 0.6838 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006532/0.0006534, allocations: 8 kB / 0.8375 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.552/1.553, allocations: 146.8 MB / 0.9809 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002764/1.555, allocations: 0.9879 MB / 0.9818 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001472/1.557, allocations: 489.3 kB / 0.9823 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.687e-05/1.557, allocations: 0 / 0.9823 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.607e-05/1.557, allocations: 4 kB / 0.9823 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.069e-05/1.557, allocations: 11.98 kB / 0.9823 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006575/1.558, allocations: 95.72 kB / 0.9824 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.34e-05/1.558, allocations: 19.92 kB / 0.9824 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.219e-05/1.558, allocations: 7.984 kB / 0.9824 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.431e-05/1.558, allocations: 8 kB / 0.9824 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/1.558, allocations: 15.92 kB / 0.9825 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/1.558, allocations: 0 / 0.9825 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005518/1.559, allocations: 187.8 kB / 0.9826 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.144e-05/1.559, allocations: 11.97 kB / 0.9826 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.415e-05/1.559, allocations: 33.64 kB / 0.9827 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002898/1.559, allocations: 74.12 kB / 0.9828 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.559, allocations: 0 / 0.9828 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.454e-06/1.559, allocations: 0 / 0.9828 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.752e-06/1.559, allocations: 0 / 0.9828 GB, free: 4.348 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008209/1.56, allocations: 351.2 kB / 0.9831 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.342e-05/1.56, allocations: 12.03 kB / 0.9831 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.587e-05/1.56, allocations: 30.56 kB / 0.9831 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004215/1.561, allocations: 19.97 kB / 0.9831 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/1.561, allocations: 167 kB / 0.9833 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/1.561, allocations: 4 kB / 0.9833 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/1.561, allocations: 7.938 kB / 0.9833 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/1.561, allocations: 49.67 kB / 0.9834 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/1.561, allocations: 0 / 0.9834 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/1.561, allocations: 4 kB / 0.9834 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/1.561, allocations: 0 / 0.9834 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/1.562, allocations: 31.86 kB / 0.9834 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000343/1.562, allocations: 161.7 kB / 0.9836 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/1.562, allocations: 54.59 kB / 0.9836 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.093e-05/1.562, allocations: 4.125 kB / 0.9836 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.721e-05/1.562, allocations: 42.55 kB / 0.9836 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/1.562, allocations: 0 / 0.9836 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0003336/1.563, allocations: 89.53 kB / 0.9837 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.278e-05/1.563, allocations: 51.41 kB / 0.9838 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/1.563, allocations: 89.86 kB / 0.9839 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/1.563, allocations: 25.7 kB / 0.9839 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.36e-05/1.563, allocations: 80.14 kB / 0.984 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.096e-05/1.563, allocations: 27.67 kB / 0.984 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-06/1.563, allocations: 0 / 0.984 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000201/1.563, allocations: 310.8 kB / 0.9843 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.224e-05/1.563, allocations: 16.12 kB / 0.9843 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.588e-05/1.563, allocations: 11.98 kB / 0.9843 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.016e-05/1.563, allocations: 16 kB / 0.9843 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.563, allocations: 0 / 0.9843 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001646/1.564, allocations: 61.62 kB / 0.9844 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/1.564, allocations: 8 kB / 0.9844 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/1.564, allocations: 3.953 kB / 0.9844 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/1.564, allocations: 0 / 0.9844 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/1.564, allocations: 19.98 kB / 0.9844 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/1.564, allocations: 0 / 0.9844 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.955e-05/1.564, allocations: 7.906 kB / 0.9844 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/1.564, allocations: 4 kB / 0.9844 GB, free: 2.398 MB / 0.7325 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000142/1.564, allocations: 105.8 kB / 0.9845 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.051e-05/1.564, allocations: 4 kB / 0.9845 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003401/1.565, allocations: 93.55 kB / 0.9846 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/1.565, allocations: 7.953 kB / 0.9846 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/1.565, allocations: 0 / 0.9846 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/1.565, allocations: 0 / 0.9846 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/1.565, allocations: 161.6 kB / 0.9848 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/1.565, allocations: 0 / 0.9848 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/1.565, allocations: 23.98 kB / 0.9848 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/1.565, allocations: 0 / 0.9848 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/1.565, allocations: 0 / 0.9848 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/1.565, allocations: 0 / 0.9848 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.444e-05/1.565, allocations: 3.953 kB / 0.9848 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/1.565, allocations: 109 kB / 0.9849 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/1.565, allocations: 81.48 kB / 0.985 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/1.566, allocations: 4 kB / 0.985 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.541e-05/1.566, allocations: 7.938 kB / 0.985 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/1.566, allocations: 11.94 kB / 0.985 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/1.566, allocations: 4 kB / 0.985 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.049e-05/1.566, allocations: 75.28 kB / 0.9851 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.91e-07/1.566, allocations: 8.031 kB / 0.9851 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003794/1.566, allocations: 12 kB / 0.9851 GB, free: 1.598 MB / 0.7325 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008005/1.567, allocations: 0.6281 MB / 0.9857 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001932/1.567, allocations: 35.98 kB / 0.9858 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.567, allocations: 0 / 0.9858 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.134e-05/1.567, allocations: 23.94 kB / 0.9858 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/1.568, allocations: 13.53 kB / 0.9858 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008066/1.568, allocations: 179.2 kB / 0.986 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004873/1.569, allocations: 0.6809 MB / 0.9866 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001041/1.569, allocations: 8 kB / 0.9866 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.966e-05/1.569, allocations: 15.42 kB / 0.9867 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of SimCode: time 4e-07/1.569, allocations: 0 / 0.9867 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02138/1.591, allocations: 1.187 MB / 0.9878 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004099/1.591, allocations: 231.6 kB / 0.988 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.035/4.627, allocations: 0 / 0.988 GB, free: 14.66 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat does not exist to compare? outputFormat=mat