Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.TwoWayValveParameterization,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",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.35/2.35, allocations: 390.5 MB / 398 MB, free: 10.98 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.001366/0.001366, allocations: 183.6 kB / 491.2 MB, free: 1.605 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.716/1.716, allocations: 221.5 MB / 0.7868 GB, free: 13.36 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.001062/0.001062, allocations: 93.62 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.956e-05/2.974e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.346, allocations: 143 MB / 1.212 GB, free: 39.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.153/1.499, allocations: 396.9 MB / 1.6 GB, free: 1.191 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/1.5, allocations: 98.17 kB / 1.6 GB, free: 1.137 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.611/3.111, allocations: 414.9 MB / 2.005 GB, free: 197.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.613e-06/3.111, allocations: 4 kB / 2.005 GB, free: 197.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001121/3.111, allocations: 27.92 kB / 2.005 GB, free: 197.2 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002097/3.113, allocations: 1.052 MB / 2.006 GB, free: 196.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/3.113, allocations: 8.031 kB / 2.006 GB, free: 196.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002652/3.114, allocations: 99.17 kB / 2.006 GB, free: 196 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/3.115, allocations: 0.5783 MB / 2.007 GB, free: 195.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/3.115, allocations: 16 kB / 2.007 GB, free: 195.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.427e-05/3.115, allocations: 36 kB / 2.007 GB, free: 195.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004983/3.115, allocations: 238.6 kB / 2.007 GB, free: 195.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005201/3.116, allocations: 315.9 kB / 2.008 GB, free: 194.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/3.116, allocations: 4 kB / 2.008 GB, free: 194.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.169e-05/3.116, allocations: 4 kB / 2.008 GB, free: 194.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/3.116, allocations: 11.95 kB / 2.008 GB, free: 194.8 MB / 1.151 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.002616/3.119, allocations: 1.736 MB / 2.009 GB, free: 192.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/3.119, allocations: 150.5 kB / 2.009 GB, free: 192.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/3.119, allocations: 77.23 kB / 2.009 GB, free: 192.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003193/3.119, allocations: 344.3 kB / 2.01 GB, free: 192.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/3.119, allocations: 38.55 kB / 2.01 GB, free: 192.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=19): time 2.504e-06/3.119, allocations: 3.938 kB / 2.01 GB, free: 192.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=19): time 0.0007262/3.12, allocations: 209.9 kB / 2.01 GB, free: 192 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/3.12, allocations: 55.41 kB / 2.01 GB, free: 191.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006591/3.121, allocations: 495.7 kB / 2.011 GB, free: 191.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/3.121, allocations: 25.7 kB / 2.011 GB, free: 191.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002185/3.121, allocations: 364.2 kB / 2.011 GB, free: 191.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.869e-05/3.121, allocations: 63.09 kB / 2.011 GB, free: 191 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.61e-05/3.121, allocations: 0 / 2.011 GB, free: 191 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.00012/3.121, allocations: 370.8 kB / 2.011 GB, free: 190.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/3.121, allocations: 84.73 kB / 2.011 GB, free: 190.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002389/3.122, allocations: 193.1 kB / 2.012 GB, free: 190.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003126/3.122, allocations: 118.2 kB / 2.012 GB, free: 190.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/3.122, allocations: 0 / 2.012 GB, free: 190.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006146/3.123, allocations: 334.7 kB / 2.012 GB, free: 189.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/3.123, allocations: 274.9 kB / 2.012 GB, free: 189.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/3.123, allocations: 0 / 2.012 GB, free: 189.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/3.123, allocations: 4 kB / 2.012 GB, free: 189.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/3.124, allocations: 143.7 kB / 2.012 GB, free: 189.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001134/3.125, allocations: 2.387 MB / 2.015 GB, free: 187 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008364/3.126, allocations: 79.73 kB / 2.015 GB, free: 186.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.84e-05/3.126, allocations: 16 kB / 2.015 GB, free: 186.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/3.126, allocations: 4 kB / 2.015 GB, free: 186.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004621/3.126, allocations: 228 kB / 2.015 GB, free: 186.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/3.126, allocations: 0 / 2.015 GB, free: 186.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.096e-06/3.126, allocations: 7.938 kB / 2.015 GB, free: 186.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004271/3.127, allocations: 99.88 kB / 2.015 GB, free: 186.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/3.127, allocations: 4 kB / 2.015 GB, free: 186.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000748/3.128, allocations: 67.77 kB / 2.015 GB, free: 186.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.726e-05/3.128, allocations: 16 kB / 2.015 GB, free: 186.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000157/3.128, allocations: 114.2 kB / 2.015 GB, free: 186.3 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004371/3.128, allocations: 204.7 kB / 2.016 GB, free: 186.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-05/3.128, allocations: 59.25 kB / 2.016 GB, free: 186.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006436/3.129, allocations: 270.5 kB / 2.016 GB, free: 185.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/3.129, allocations: 0 / 2.016 GB, free: 185.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/3.129, allocations: 0 / 2.016 GB, free: 185.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/3.129, allocations: 0 / 2.016 GB, free: 185.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/3.131, allocations: 0.7877 MB / 2.017 GB, free: 184.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.116e-06/3.131, allocations: 4 kB / 2.017 GB, free: 184.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003386/3.131, allocations: 79.77 kB / 2.017 GB, free: 184.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/3.131, allocations: 0 / 2.017 GB, free: 184.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/3.131, allocations: 11.98 kB / 2.017 GB, free: 184.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009123/3.132, allocations: 2.348 MB / 2.019 GB, free: 182.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/3.132, allocations: 8.234 kB / 2.019 GB, free: 182.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004682/3.132, allocations: 408.9 kB / 2.019 GB, free: 181.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003146/3.133, allocations: 168.2 kB / 2.02 GB, free: 181.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/3.133, allocations: 0 / 2.02 GB, free: 181.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005254/3.133, allocations: 51.94 kB / 2.02 GB, free: 181.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.718e-05/3.133, allocations: 19.89 kB / 2.02 GB, free: 181.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/3.134, allocations: 8 kB / 2.02 GB, free: 181.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004592/3.134, allocations: 379.2 kB / 2.02 GB, free: 181.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.41e-07/3.134, allocations: 0 / 2.02 GB, free: 181.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001597/3.136, allocations: 379.1 kB / 2.02 GB, free: 180.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001815/3.137, allocations: 1.581 MB / 2.022 GB, free: 179.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001315/3.139, allocations: 423.6 kB / 2.022 GB, free: 178.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/3.139, allocations: 0 / 2.022 GB, free: 178.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002817/3.139, allocations: 111.8 kB / 2.022 GB, free: 178.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001659/3.141, allocations: 290.8 kB / 2.023 GB, free: 178.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/3.143, allocations: 0.8621 MB / 2.024 GB, free: 177.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/3.143, allocations: 0.9463 MB / 2.025 GB, free: 176.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0006895/3.144, allocations: 132.6 kB / 2.025 GB, free: 176.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/3.144, allocations: 247.3 kB / 2.025 GB, free: 176.3 MB / 1.151 GB Notification: Performance of SimCode: time 9.72e-07/3.144, allocations: 0 / 2.025 GB, free: 176.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04393/3.188, allocations: 17.94 MB / 2.042 GB, free: 158.5 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/3.188, allocations: 205.1 kB / 2.043 GB, free: 158.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.743/5.931, allocations: 0 / 2.043 GB, free: 158.2 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_res.mat does not exist to compare? outputFormat=mat