Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",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 2.352/2.352, allocations: 390.5 MB / 398 MB, free: 10.96 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.001022/0.001021, allocations: 171.6 kB / 491.2 MB, free: 1.621 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 221.5 MB / 0.7868 GB, free: 13.31 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.001076/0.001076, allocations: 110.4 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.845e-05/1.846e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2676, allocations: 143 MB / 1.212 GB, free: 39.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.151/1.418, allocations: 429.3 MB / 1.632 GB, free: 1.828 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/1.419, allocations: 95.38 kB / 1.632 GB, free: 1.777 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.535/5.954, allocations: 1.117 GB / 2.749 GB, free: 172.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.384e-06/5.954, allocations: 0 / 2.749 GB, free: 172.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004931/5.954, allocations: 66.03 kB / 2.749 GB, free: 172.5 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.007171/5.961, allocations: 2.328 MB / 2.751 GB, free: 171.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/5.961, allocations: 11.81 kB / 2.751 GB, free: 171.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001339/5.963, allocations: 268.5 kB / 2.751 GB, free: 171.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005236/5.968, allocations: 1.591 MB / 2.753 GB, free: 171.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/5.968, allocations: 38.94 kB / 2.753 GB, free: 171.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005623/5.969, allocations: 86.66 kB / 2.753 GB, free: 171.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002199/5.971, allocations: 0.9308 MB / 2.754 GB, free: 171.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002354/5.973, allocations: 0.952 MB / 2.755 GB, free: 171.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.047e-05/5.973, allocations: 9.672 kB / 2.755 GB, free: 171.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/5.974, allocations: 3.797 kB / 2.755 GB, free: 171.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/5.974, allocations: 27.06 kB / 2.755 GB, free: 171.1 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01423/5.988, allocations: 6.084 MB / 2.761 GB, free: 168.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009651/5.989, allocations: 0.585 MB / 2.761 GB, free: 168.5 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005417/5.989, allocations: 379 kB / 2.762 GB, free: 168.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004971/5.99, allocations: 0.5153 MB / 2.762 GB, free: 168 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.576e-05/5.99, allocations: 41.97 kB / 2.762 GB, free: 167.9 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002741/5.993, allocations: 423.8 kB / 2.763 GB, free: 167.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=58): time 8.636e-06/5.993, allocations: 0 / 2.763 GB, free: 167.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=58): time 0.002155/5.995, allocations: 0.8223 MB / 2.763 GB, free: 167.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/5.995, allocations: 66.77 kB / 2.764 GB, free: 167.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002782/5.998, allocations: 1.319 MB / 2.765 GB, free: 167.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000221/5.998, allocations: 34.31 kB / 2.765 GB, free: 167.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009039/5.999, allocations: 0.9188 MB / 2.766 GB, free: 167.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/5.999, allocations: 191 kB / 2.766 GB, free: 167 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/5.999, allocations: 0 / 2.766 GB, free: 167 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001106/5.999, allocations: 345.3 kB / 2.766 GB, free: 166.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006014/6, allocations: 382.2 kB / 2.767 GB, free: 166.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008587/6.001, allocations: 0.6973 MB / 2.767 GB, free: 166.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/6.002, allocations: 485.5 kB / 2.768 GB, free: 166.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/6.002, allocations: 0 / 2.768 GB, free: 166.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002437/6.004, allocations: 1.223 MB / 2.769 GB, free: 166.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002627/6.005, allocations: 0.9245 MB / 2.77 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/6.005, allocations: 6.844 kB / 2.77 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.89e-05/6.005, allocations: 7.594 kB / 2.77 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/6.006, allocations: 268.6 kB / 2.77 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-05/6.006, allocations: 12.91 kB / 2.77 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002251/6.008, allocations: 124.2 kB / 2.77 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001856/6.008, allocations: 60.3 kB / 2.77 GB, free: 165.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/6.008, allocations: 3.656 kB / 2.77 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001636/6.01, allocations: 0.9534 MB / 2.771 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/6.01, allocations: 7.531 kB / 2.771 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/6.01, allocations: 6.5 kB / 2.771 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/6.011, allocations: 267.1 kB / 2.772 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.847e-05/6.011, allocations: 11.34 kB / 2.772 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002042/6.013, allocations: 128.2 kB / 2.772 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001507/6.013, allocations: 57.7 kB / 2.772 GB, free: 165.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 140 * 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.0003077/6.014, allocations: 129.3 kB / 2.772 GB, free: 165.1 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001652/6.015, allocations: 0.7753 MB / 2.773 GB, free: 164.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004734/6.016, allocations: 183.1 kB / 2.773 GB, free: 164.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002195/6.018, allocations: 0.9703 MB / 2.774 GB, free: 164.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/6.018, allocations: 7.688 kB / 2.774 GB, free: 164.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/6.018, allocations: 0 / 2.774 GB, free: 164.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/6.018, allocations: 2.859 kB / 2.774 GB, free: 164.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004505/6.023, allocations: 2.152 MB / 2.776 GB, free: 164.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/6.023, allocations: 6.312 kB / 2.776 GB, free: 164.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005901/6.023, allocations: 133.2 kB / 2.776 GB, free: 164.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.421e-05/6.023, allocations: 6.969 kB / 2.776 GB, free: 164.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-05/6.023, allocations: 14.31 kB / 2.776 GB, free: 164.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/6.023, allocations: 11.34 kB / 2.776 GB, free: 164.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/6.023, allocations: 5.469 kB / 2.776 GB, free: 164.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/6.025, allocations: 1.066 MB / 2.777 GB, free: 163.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009004/6.026, allocations: 355.9 kB / 2.777 GB, free: 163.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004973/6.026, allocations: 0 / 2.777 GB, free: 163.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/6.028, allocations: 107.2 kB / 2.777 GB, free: 163.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/6.028, allocations: 52.36 kB / 2.778 GB, free: 163.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.963e-05/6.028, allocations: 27.33 kB / 2.778 GB, free: 163.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001718/6.03, allocations: 0.9637 MB / 2.778 GB, free: 163.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/6.03, allocations: 0 / 2.778 GB, free: 163.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003825/6.033, allocations: 0.9638 MB / 2.779 GB, free: 163.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.003541/6.037, allocations: 2.876 MB / 2.782 GB, free: 161.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002557/6.04, allocations: 1.482 MB / 2.784 GB, free: 161.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/6.04, allocations: 0 / 2.784 GB, free: 161.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004514/6.04, allocations: 359.6 kB / 2.784 GB, free: 161.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005354/6.045, allocations: 0.9086 MB / 2.785 GB, free: 161.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007055/6.053, allocations: 2.483 MB / 2.787 GB, free: 161 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001216/6.054, allocations: 1.456 MB / 2.789 GB, free: 160.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002588/6.056, allocations: 471.6 kB / 2.789 GB, free: 160.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009293/6.057, allocations: 0.7892 MB / 2.79 GB, free: 160.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.042e-06/6.057, allocations: 0 / 2.79 GB, free: 160.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09344/6.151, allocations: 53.24 MB / 2.842 GB, free: 158.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/6.151, allocations: 196.6 kB / 2.842 GB, free: 157.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.391/10.54, allocations: 1.875 kB / 2.842 GB, free: 157.9 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.mat does not exist to compare? outputFormat=mat