Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",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.939/1.939, allocations: 390.3 MB / 402.8 MB, free: 6.664 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.001012/0.001012, allocations: 184.8 kB / 496.1 MB, free: 12.87 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.257/1.257, allocations: 221.3 MB / 0.7915 GB, free: 5.391 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.000855/0.0008551, allocations: 87.95 kB / 0.9317 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.455e-05/2.466e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7112/0.9112, allocations: 176.6 MB / 1.391 GB, free: 9.293 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002059/0.9114, allocations: 77.61 kB / 1.391 GB, free: 9.25 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.003504/0.9149, allocations: 1.671 MB / 1.393 GB, free: 7.789 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.362e-06/0.915, allocations: 0 / 1.393 GB, free: 7.789 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.915, allocations: 4 kB / 1.393 GB, free: 7.785 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002596/0.9153, allocations: 318.6 kB / 1.393 GB, free: 7.43 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.9153, allocations: 8.031 kB / 1.393 GB, free: 7.422 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.204e-05/0.9153, allocations: 41.95 kB / 1.393 GB, free: 7.375 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.257e-05/0.9154, allocations: 0 / 1.393 GB, free: 7.375 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.038e-05/0.9155, allocations: 163.8 kB / 1.394 GB, free: 7.176 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.073e-05/0.9155, allocations: 37.69 kB / 1.394 GB, free: 7.133 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.9155, allocations: 192 / 1.394 GB, free: 7.133 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.933e-05/0.9156, allocations: 36.95 kB / 1.394 GB, free: 7.094 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.9156, allocations: 4 kB / 1.394 GB, free: 7.09 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.9157, allocations: 3.953 kB / 1.394 GB, free: 7.086 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-06/0.9157, allocations: 0 / 1.394 GB, free: 7.086 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.9e-05/0.9157, allocations: 4 kB / 1.394 GB, free: 7.082 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001265/0.9158, allocations: 155.9 kB / 1.394 GB, free: 6.887 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.535e-05/0.9159, allocations: 30.16 kB / 1.394 GB, free: 6.852 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.24e-05/0.9159, allocations: 15.41 kB / 1.394 GB, free: 6.836 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000135/0.9161, allocations: 89.05 kB / 1.394 GB, free: 6.73 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.9161, allocations: 34.55 kB / 1.394 GB, free: 6.688 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.9161, allocations: 3.938 kB / 1.394 GB, free: 6.684 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.000119/0.9162, allocations: 47.53 kB / 1.394 GB, free: 6.633 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.9163, allocations: 56.23 kB / 1.394 GB, free: 6.566 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.824e-05/0.9163, allocations: 99.98 kB / 1.394 GB, free: 6.465 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.9163, allocations: 25.7 kB / 1.394 GB, free: 6.434 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.518e-05/0.9164, allocations: 80.14 kB / 1.394 GB, free: 6.352 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.9164, allocations: 7.344 kB / 1.394 GB, free: 6.348 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-06/0.9164, allocations: 0 / 1.394 GB, free: 6.348 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.601e-05/0.9165, allocations: 314.8 kB / 1.395 GB, free: 6.031 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.296e-05/0.9165, allocations: 0 / 1.395 GB, free: 6.031 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.194e-05/0.9165, allocations: 9.594 kB / 1.395 GB, free: 6.027 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.876e-05/0.9165, allocations: 11.92 kB / 1.395 GB, free: 6.016 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.9165, allocations: 4 kB / 1.395 GB, free: 6.012 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.262e-05/0.9166, allocations: 41.7 kB / 1.395 GB, free: 5.969 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.9166, allocations: 4 kB / 1.395 GB, free: 5.965 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.9166, allocations: 0 / 1.395 GB, free: 5.965 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.9167, allocations: 0 / 1.395 GB, free: 5.965 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.826e-05/0.9167, allocations: 11.98 kB / 1.395 GB, free: 5.953 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.9167, allocations: 0 / 1.395 GB, free: 5.953 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.945e-05/0.9168, allocations: 3.953 kB / 1.395 GB, free: 5.949 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.9168, allocations: 0 / 1.395 GB, free: 5.949 MB / 0.8542 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 (3): * Single equations (assignments): 3 * 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.15e-05/0.9168, allocations: 112.4 kB / 1.395 GB, free: 5.836 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.506e-06/0.9169, allocations: 3.906 kB / 1.395 GB, free: 5.832 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.917, allocations: 56.69 kB / 1.395 GB, free: 5.773 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.917, allocations: 3.984 kB / 1.395 GB, free: 5.77 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.917, allocations: 0 / 1.395 GB, free: 5.77 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.917, allocations: 0 / 1.395 GB, free: 5.77 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.238e-05/0.9171, allocations: 152.8 kB / 1.395 GB, free: 5.574 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.9171, allocations: 7.922 kB / 1.395 GB, free: 5.566 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.969e-05/0.9171, allocations: 4 kB / 1.395 GB, free: 5.562 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.9171, allocations: 0 / 1.395 GB, free: 5.562 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.9171, allocations: 8 kB / 1.395 GB, free: 5.555 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.9172, allocations: 0 / 1.395 GB, free: 5.555 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.9172, allocations: 0 / 1.395 GB, free: 5.555 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.581e-05/0.9172, allocations: 76.39 kB / 1.395 GB, free: 5.469 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.421e-05/0.9173, allocations: 77.58 kB / 1.395 GB, free: 5.375 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.9173, allocations: 3.984 kB / 1.395 GB, free: 5.371 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.914e-05/0.9173, allocations: 4 kB / 1.395 GB, free: 5.367 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.9174, allocations: 4 kB / 1.395 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.9174, allocations: 0 / 1.395 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.989e-05/0.9174, allocations: 86.58 kB / 1.395 GB, free: 5.281 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9174, allocations: 0 / 1.395 GB, free: 5.281 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000164/0.9176, allocations: 15.88 kB / 1.395 GB, free: 5.266 MB / 0.8542 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 (3): * Single equations (assignments): 3 * 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.0003734/0.918, allocations: 0.6391 MB / 1.396 GB, free: 4.602 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.349e-05/0.9181, allocations: 27.73 kB / 1.396 GB, free: 4.578 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.9181, allocations: 0 / 1.396 GB, free: 4.578 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.688e-05/0.9181, allocations: 4 kB / 1.396 GB, free: 4.574 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.9182, allocations: 9.062 kB / 1.396 GB, free: 4.57 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002435/0.9185, allocations: 93.92 kB / 1.396 GB, free: 4.445 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001674/0.9187, allocations: 0.677 MB / 1.397 GB, free: 3.742 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.985e-05/0.9187, allocations: 8 kB / 1.397 GB, free: 3.734 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.5e-05/0.9187, allocations: 11.42 kB / 1.397 GB, free: 3.723 MB / 0.8542 GB Notification: Performance of SimCode: time 1.964e-06/0.9187, allocations: 0 / 1.397 GB, free: 3.723 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01071/0.9295, allocations: 1.805 MB / 1.398 GB, free: 2.09 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001717/0.9297, allocations: 180.5 kB / 1.399 GB, free: 1.863 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.391/2.32, allocations: 0 / 1.399 GB, free: 1.863 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat does not exist to compare? outputFormat=mat