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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 1.938/1.938, allocations: 390.3 MB / 402.8 MB, free: 6.684 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000943/0.000943, allocations: 180.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.202/1.202, allocations: 221.3 MB / 0.7915 GB, free: 5.348 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008009/0.0008009, allocations: 87.97 kB / 0.9317 GB, free: 5.668 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.159e-05/2.168e-05, allocations: 2.656 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1852, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6256/0.8109, allocations: 151.2 MB / 1.366 GB, free: 2.875 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001873/0.8111, allocations: 79.53 kB / 1.367 GB, free: 2.828 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006675/0.8178, allocations: 2.498 MB / 1.369 GB, free: 0.6875 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.072e-06/0.8178, allocations: 4 kB / 1.369 GB, free: 0.6836 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.8178, allocations: 0 / 1.369 GB, free: 0.6836 MB / 0.823 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.0002663/0.8181, allocations: 357.5 kB / 1.369 GB, free: 300 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.8182, allocations: 8.031 kB / 1.369 GB, free: 292 kB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.004e-05/0.8182, allocations: 30.56 kB / 1.369 GB, free: 252 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000162/0.8184, allocations: 20.7 kB / 1.369 GB, free: 232 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.609e-05/0.8185, allocations: 159.1 kB / 1.37 GB, free: 32 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.8185, allocations: 15.06 kB / 1.37 GB, free: 20 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.8185, allocations: 0 / 1.37 GB, free: 20 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.8186, allocations: 48.12 kB / 1.37 GB, free: 15.97 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.8186, allocations: 0 / 1.37 GB, free: 15.97 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.8187, allocations: 0 / 1.37 GB, free: 15.97 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.8187, allocations: 0 / 1.37 GB, free: 15.97 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.754e-05/0.8187, allocations: 27.11 kB / 1.37 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001513/0.8189, allocations: 164.3 kB / 1.37 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.819, allocations: 68.16 kB / 1.37 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.839e-05/0.819, allocations: 23.3 kB / 1.37 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.8191, allocations: 0 / 1.37 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.8191, allocations: 30.56 kB / 1.37 GB, free: 15.63 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.8191, allocations: 3.938 kB / 1.37 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0001424/0.8193, allocations: 68.97 kB / 1.37 GB, free: 15.56 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.8193, allocations: 51.41 kB / 1.37 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.885e-05/0.8193, allocations: 92.19 kB / 1.37 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.8194, allocations: 25.7 kB / 1.37 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.284e-05/0.8194, allocations: 88.14 kB / 1.37 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.8194, allocations: 19.22 kB / 1.37 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.541e-06/0.8194, allocations: 0 / 1.37 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.21e-05/0.8195, allocations: 326.7 kB / 1.371 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.077e-05/0.8196, allocations: 7.062 kB / 1.371 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.927e-05/0.8196, allocations: 11.31 kB / 1.371 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.207e-05/0.8196, allocations: 19.25 kB / 1.371 GB, free: 14.92 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.8196, allocations: 0 / 1.371 GB, free: 14.92 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.31e-05/0.8197, allocations: 61.06 kB / 1.371 GB, free: 14.86 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.8198, allocations: 9.25 kB / 1.371 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.8198, allocations: 0 / 1.371 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.8198, allocations: 3.984 kB / 1.371 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.8199, allocations: 12 kB / 1.371 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.8199, allocations: 3.938 kB / 1.371 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.099e-05/0.8199, allocations: 3.812 kB / 1.371 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.82, allocations: 7.984 kB / 1.371 GB, free: 14.82 MB / 0.8386 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 () * 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 5.824e-05/0.82, allocations: 112.9 kB / 1.371 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.228e-06/0.82, allocations: 0 / 1.371 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001953/0.8202, allocations: 94.58 kB / 1.371 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.8202, allocations: 0 / 1.371 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.8203, allocations: 0 / 1.371 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.8203, allocations: 0 / 1.371 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.8204, allocations: 176.5 kB / 1.371 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.8204, allocations: 0 / 1.371 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.201e-05/0.8205, allocations: 19.94 kB / 1.371 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.8205, allocations: 0 / 1.371 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.8205, allocations: 0 / 1.371 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.8205, allocations: 3.984 kB / 1.371 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8205, allocations: 0 / 1.371 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.8206, allocations: 98.38 kB / 1.371 GB, free: 14.28 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.412e-05/0.8207, allocations: 89 kB / 1.371 GB, free: 14.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.8207, allocations: 4 kB / 1.371 GB, free: 14.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.301e-05/0.8208, allocations: 0 / 1.371 GB, free: 14.17 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.572e-05/0.8208, allocations: 7.125 kB / 1.371 GB, free: 14.17 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.8208, allocations: 0 / 1.371 GB, free: 14.17 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.355e-05/0.8208, allocations: 75.28 kB / 1.371 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8208, allocations: 0 / 1.371 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001557/0.821, allocations: 11.94 kB / 1.371 GB, free: 14.08 MB / 0.8386 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 () * 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.0003529/0.8214, allocations: 0.6448 MB / 1.372 GB, free: 13.43 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.628e-05/0.8215, allocations: 34.61 kB / 1.372 GB, free: 13.4 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.8215, allocations: 0 / 1.372 GB, free: 13.4 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.852e-05/0.8215, allocations: 22.94 kB / 1.372 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001161/0.8216, allocations: 5.203 kB / 1.372 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002919/0.8219, allocations: 112.3 kB / 1.372 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.8221, allocations: 0.6848 MB / 1.373 GB, free: 12.53 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.106e-05/0.8222, allocations: 0 / 1.373 GB, free: 12.53 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.587e-05/0.8222, allocations: 11.44 kB / 1.373 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of SimCode: time 3.71e-07/0.8223, allocations: 0 / 1.373 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01003/0.8323, allocations: 1.201 MB / 1.374 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/0.8325, allocations: 185.5 kB / 1.374 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.381/2.214, allocations: 0 / 1.374 GB, free: 11.27 MB / 0.8386 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) 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