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.424/2.424, allocations: 390.3 MB / 402.8 MB, free: 6.715 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.001233/0.001233, allocations: 184.8 kB / 496.1 MB, free: 12.88 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.492/1.492, allocations: 221.3 MB / 0.7915 GB, free: 5.395 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.0009622/0.0009623, allocations: 95.89 kB / 0.9318 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.988e-05/2.991e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2682, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.091/1.359, allocations: 397.6 MB / 1.607 GB, free: 4.637 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003907/1.36, allocations: 95.3 kB / 1.607 GB, free: 4.586 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 1.689/3.048, allocations: 417.6 MB / 2.015 GB, free: 141.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.483e-06/3.048, allocations: 3.938 kB / 2.015 GB, free: 141.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.811e-05/3.048, allocations: 23.98 kB / 2.015 GB, free: 141.1 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.001943/3.05, allocations: 1.052 MB / 2.016 GB, free: 140 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/3.05, allocations: 12.03 kB / 2.016 GB, free: 140 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.358e-05/3.05, allocations: 90.52 kB / 2.016 GB, free: 139.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/3.051, allocations: 99.17 kB / 2.016 GB, free: 139.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009783/3.052, allocations: 0.5703 MB / 2.017 GB, free: 139.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.648e-05/3.052, allocations: 41 kB / 2.017 GB, free: 139.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.452e-05/3.052, allocations: 56 kB / 2.017 GB, free: 139.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006042/3.052, allocations: 378.5 kB / 2.017 GB, free: 138.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/3.052, allocations: 4 kB / 2.017 GB, free: 138.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.621e-05/3.052, allocations: 16 kB / 2.017 GB, free: 138.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/3.052, allocations: 12 kB / 2.017 GB, free: 138.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00041/3.053, allocations: 263.9 kB / 2.018 GB, free: 138.5 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.002599/3.055, allocations: 1.865 MB / 2.019 GB, free: 136.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002557/3.056, allocations: 146.5 kB / 2.02 GB, free: 136.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/3.056, allocations: 68.84 kB / 2.02 GB, free: 136.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002801/3.056, allocations: 336.4 kB / 2.02 GB, free: 135.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/3.056, allocations: 38.56 kB / 2.02 GB, free: 135.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=19): time 3.547e-06/3.056, allocations: 3.938 kB / 2.02 GB, free: 135.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=19): time 0.0004415/3.057, allocations: 217.8 kB / 2.02 GB, free: 135.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/3.057, allocations: 55.41 kB / 2.02 GB, free: 135.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006111/3.057, allocations: 0.586 MB / 2.021 GB, free: 134.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/3.057, allocations: 33.7 kB / 2.021 GB, free: 134.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/3.057, allocations: 368.7 kB / 2.021 GB, free: 134.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/3.058, allocations: 63.05 kB / 2.021 GB, free: 134.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.589e-05/3.058, allocations: 16 kB / 2.021 GB, free: 134.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.289e-05/3.058, allocations: 374.8 kB / 2.022 GB, free: 134 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/3.058, allocations: 80.75 kB / 2.022 GB, free: 134 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/3.058, allocations: 208.9 kB / 2.022 GB, free: 133.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/3.058, allocations: 105.5 kB / 2.022 GB, free: 133.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/3.058, allocations: 0 / 2.022 GB, free: 133.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004876/3.059, allocations: 358.5 kB / 2.022 GB, free: 133.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.286e-05/3.059, allocations: 282.9 kB / 2.023 GB, free: 133 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.475e-06/3.059, allocations: 3.984 kB / 2.023 GB, free: 132.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/3.059, allocations: 0 / 2.023 GB, free: 132.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008527/3.06, allocations: 131.8 kB / 2.023 GB, free: 132.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009991/3.061, allocations: 2.368 MB / 2.025 GB, free: 130.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007798/3.062, allocations: 95.59 kB / 2.025 GB, free: 130.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.603e-05/3.062, allocations: 15.98 kB / 2.025 GB, free: 130.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/3.062, allocations: 7.938 kB / 2.025 GB, free: 130.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003981/3.062, allocations: 251.8 kB / 2.025 GB, free: 130 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-06/3.062, allocations: 0 / 2.025 GB, free: 130 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.693e-06/3.062, allocations: 4 kB / 2.025 GB, free: 130 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003948/3.062, allocations: 95.88 kB / 2.025 GB, free: 129.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/3.062, allocations: 11.98 kB / 2.025 GB, free: 129.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005542/3.063, allocations: 83.61 kB / 2.026 GB, free: 129.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-05/3.063, allocations: 16 kB / 2.026 GB, free: 129.8 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.0001241/3.063, allocations: 124.9 kB / 2.026 GB, free: 129.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.285e-05/3.063, allocations: 71.06 kB / 2.026 GB, free: 129.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000556/3.064, allocations: 294.8 kB / 2.026 GB, free: 129.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/3.064, allocations: 4 kB / 2.026 GB, free: 129.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/3.064, allocations: 0 / 2.026 GB, free: 129.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/3.064, allocations: 3.984 kB / 2.026 GB, free: 129.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/3.065, allocations: 0.8656 MB / 2.027 GB, free: 128.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/3.065, allocations: 0 / 2.027 GB, free: 128.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003252/3.065, allocations: 75.81 kB / 2.027 GB, free: 128.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/3.065, allocations: 4 kB / 2.027 GB, free: 128.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/3.065, allocations: 8 kB / 2.027 GB, free: 128.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007028/3.066, allocations: 2.352 MB / 2.029 GB, free: 125.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/3.066, allocations: 8.047 kB / 2.029 GB, free: 125.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003624/3.066, allocations: 428.6 kB / 2.03 GB, free: 125.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002112/3.067, allocations: 168.1 kB / 2.03 GB, free: 125.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.164e-05/3.067, allocations: 4 kB / 2.03 GB, free: 125.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004241/3.067, allocations: 59.81 kB / 2.03 GB, free: 125.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.566e-05/3.067, allocations: 19.97 kB / 2.03 GB, free: 125.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/3.067, allocations: 7.953 kB / 2.03 GB, free: 125.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004847/3.068, allocations: 467.2 kB / 2.03 GB, free: 124.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 7.61e-07/3.068, allocations: 0 / 2.03 GB, free: 124.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001155/3.069, allocations: 391.4 kB / 2.031 GB, free: 124.2 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.001362/3.07, allocations: 1.589 MB / 2.032 GB, free: 122.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001246/3.072, allocations: 429.8 kB / 2.033 GB, free: 122.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/3.072, allocations: 0 / 2.033 GB, free: 122.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002892/3.072, allocations: 111.9 kB / 2.033 GB, free: 122.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002033/3.074, allocations: 369 kB / 2.033 GB, free: 121.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/3.076, allocations: 0.9275 MB / 2.034 GB, free: 120.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/3.076, allocations: 0.9544 MB / 2.035 GB, free: 119.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008103/3.077, allocations: 161 kB / 2.035 GB, free: 119.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002629/3.077, allocations: 243.3 kB / 2.035 GB, free: 119.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.232e-06/3.077, allocations: 0 / 2.035 GB, free: 119.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04769/3.125, allocations: 23.69 MB / 2.059 GB, free: 96.07 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000193/3.125, allocations: 254.1 kB / 2.059 GB, free: 95.73 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.906/6.031, allocations: 3.938 kB / 2.059 GB, free: 95.73 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