Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 100.5 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 223.2 MB / 239.9 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.505/2.505, allocations: 390.3 MB / 0.6653 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003763/0.0003765, allocations: 12 kB / 0.8146 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7422/0.7426, allocations: 142.3 MB / 0.9536 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02698/0.7696, allocations: 25.82 MB / 0.9788 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0131/0.7828, allocations: 9.264 MB / 0.9879 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00133/0.7841, allocations: 22.56 kB / 0.9879 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001218/0.7854, allocations: 341.3 kB / 0.9882 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003826/0.7892, allocations: 1.143 MB / 0.9893 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002858/0.7921, allocations: 0.9077 MB / 0.9902 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002673/0.7948, allocations: 1.242 MB / 0.9914 GB, free: 9.328 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009273/0.7957, allocations: 0.5381 MB / 0.9919 GB, free: 8.773 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001871/0.7976, allocations: 0.7786 MB / 0.9927 GB, free: 7.992 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007687/0.7984, allocations: 462.1 kB / 0.9931 GB, free: 7.539 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 7.273e-05/0.7985, allocations: 28 kB / 0.9932 GB, free: 7.512 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.7995, allocations: 395.4 kB / 0.9935 GB, free: 7.125 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.7997, allocations: 127.4 kB / 0.9937 GB, free: 7 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002318/0.7999, allocations: 181.3 kB / 0.9938 GB, free: 6.816 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0007731/0.8007, allocations: 0.7034 MB / 0.9945 GB, free: 6.113 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.8007, allocations: 0 / 0.9945 GB, free: 6.113 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8007, allocations: 0 / 0.9945 GB, free: 6.113 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.998e-06/0.8008, allocations: 0 / 0.9945 GB, free: 6.113 MB / 0.7481 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.00177/0.8025, allocations: 1.016 MB / 0.9955 GB, free: 5.047 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.233e-05/0.8026, allocations: 16.03 kB / 0.9955 GB, free: 5.031 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001024/0.8027, allocations: 82.47 kB / 0.9956 GB, free: 4.941 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.8029, allocations: 98.88 kB / 0.9957 GB, free: 4.844 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008802/0.8038, allocations: 0.5305 MB / 0.9962 GB, free: 4.273 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.838e-05/0.8038, allocations: 41 kB / 0.9963 GB, free: 4.234 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.081e-05/0.8039, allocations: 52 kB / 0.9963 GB, free: 4.184 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007327/0.8046, allocations: 414.4 kB / 0.9967 GB, free: 3.77 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.8046, allocations: 0 / 0.9967 GB, free: 3.77 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.817e-05/0.8047, allocations: 20 kB / 0.9967 GB, free: 3.75 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.8047, allocations: 8 kB / 0.9967 GB, free: 3.742 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005932/0.8053, allocations: 307.8 kB / 0.997 GB, free: 3.441 MB / 0.7481 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.002776/0.8081, allocations: 1.869 MB / 0.9989 GB, free: 1.422 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/0.8084, allocations: 174.4 kB / 0.999 GB, free: 1.242 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003203/0.8088, allocations: 336.4 kB / 0.9993 GB, free: 0.8398 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.8088, allocations: 38.56 kB / 0.9994 GB, free: 0.793 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=19): time 1.433e-06/0.8088, allocations: 0 / 0.9994 GB, free: 0.793 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.0007632/0.8096, allocations: 326.9 kB / 0.9997 GB, free: 480 kB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.8096, allocations: 51.41 kB / 0.9997 GB, free: 416 kB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007818/0.8104, allocations: 0.6765 MB / 1 GB, free: 15.72 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.8105, allocations: 33.7 kB / 1 GB, free: 15.68 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002593/0.8107, allocations: 368.8 kB / 1.001 GB, free: 15.32 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 5.611e-05/0.8108, allocations: 67 kB / 1.001 GB, free: 15.25 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.764e-05/0.8108, allocations: 8 kB / 1.001 GB, free: 15.24 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.811, allocations: 374.7 kB / 1.001 GB, free: 14.87 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/0.8112, allocations: 108.7 kB / 1.001 GB, free: 14.76 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002922/0.8115, allocations: 183.5 kB / 1.001 GB, free: 14.56 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002531/0.8118, allocations: 133.5 kB / 1.002 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.8118, allocations: 4 kB / 1.002 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006526/0.8125, allocations: 382.6 kB / 1.002 GB, free: 14.05 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.000119/0.8126, allocations: 286.8 kB / 1.002 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.8126, allocations: 0 / 1.002 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.8126, allocations: 4 kB / 1.002 GB, free: 13.74 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.8137, allocations: 159.9 kB / 1.002 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/0.8149, allocations: 2.36 MB / 1.005 GB, free: 11.13 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006046/0.8156, allocations: 87.69 kB / 1.005 GB, free: 11.05 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.367e-05/0.8156, allocations: 15.98 kB / 1.005 GB, free: 11.03 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.8156, allocations: 5.406 kB / 1.005 GB, free: 11.03 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000569/0.8162, allocations: 304 kB / 1.005 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-06/0.8162, allocations: 0 / 1.005 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.182e-06/0.8162, allocations: 4 kB / 1.005 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004091/0.8167, allocations: 99.88 kB / 1.005 GB, free: 10.63 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.8167, allocations: 4 kB / 1.005 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004658/0.8171, allocations: 83.53 kB / 1.005 GB, free: 10.54 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.11e-05/0.8172, allocations: 16 kB / 1.005 GB, free: 10.53 MB / 0.7637 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 () * Number of clocked 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.0003215/0.8175, allocations: 265 kB / 1.006 GB, free: 10.26 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.8176, allocations: 71.11 kB / 1.006 GB, free: 10.19 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007254/0.8184, allocations: 320.8 kB / 1.006 GB, free: 9.871 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.8184, allocations: 4.109 kB / 1.006 GB, free: 9.867 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.8184, allocations: 3.938 kB / 1.006 GB, free: 9.863 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.8184, allocations: 0 / 1.006 GB, free: 9.863 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/0.8198, allocations: 0.9005 MB / 1.007 GB, free: 8.895 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.8198, allocations: 4 kB / 1.007 GB, free: 8.891 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003184/0.8201, allocations: 79.94 kB / 1.007 GB, free: 8.812 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.8201, allocations: 4 kB / 1.007 GB, free: 8.809 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.8202, allocations: 8 kB / 1.007 GB, free: 8.801 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001077/0.8213, allocations: 2.36 MB / 1.009 GB, free: 6.348 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.8213, allocations: 0 / 1.009 GB, free: 6.348 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005827/0.8219, allocations: 456.1 kB / 1.01 GB, free: 5.852 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002195/0.8221, allocations: 176 kB / 1.01 GB, free: 5.66 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.988e-05/0.8222, allocations: 11.95 kB / 1.01 GB, free: 5.648 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000385/0.8226, allocations: 51.94 kB / 1.01 GB, free: 5.598 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.393e-05/0.8226, allocations: 15.92 kB / 1.01 GB, free: 5.582 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.8226, allocations: 8 kB / 1.01 GB, free: 5.574 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004929/0.8231, allocations: 475 kB / 1.01 GB, free: 5.113 MB / 0.7637 GB Notification: Performance of sort global known variables: time 4.71e-07/0.8232, allocations: 0 / 1.01 GB, free: 5.113 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008338/0.824, allocations: 355 kB / 1.011 GB, free: 4.766 MB / 0.7637 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 () * Number of clocked 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.001199/0.8252, allocations: 1.4 MB / 1.012 GB, free: 3.324 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001537/0.8267, allocations: 0.4954 MB / 1.013 GB, free: 2.828 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.8268, allocations: 0 / 1.013 GB, free: 2.828 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003966/0.8272, allocations: 148 kB / 1.013 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/0.829, allocations: 374.2 kB / 1.013 GB, free: 2.32 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002548/0.8316, allocations: 2.026 MB / 1.015 GB, free: 228 kB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004525/0.832, allocations: 0.9492 MB / 1.016 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004457/0.8325, allocations: 121 kB / 1.016 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/0.8328, allocations: 255.3 kB / 1.016 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of SimCode: time 6.52e-07/0.8328, allocations: 0 / 1.016 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03859/0.8714, allocations: 18.03 MB / 1.034 GB, free: 13.31 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000338/0.8718, allocations: 270 kB / 1.034 GB, free: 12.96 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.312/3.184, allocations: 0 / 1.034 GB, free: 12.96 MB / 0.795 GB (rm -f Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_res.mat does not exist to compare? outputFormat=mat