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/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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.00103, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001263/0.001263, allocations: 168.7 kB / 15.95 MB, free: 204 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.461/1.461, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.699/2.699, allocations: 409.4 MB / 0.684 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003796/0.0003797, allocations: 11.98 kB / 0.8378 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7643/0.7647, allocations: 146.8 MB / 0.9811 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02866/0.7934, allocations: 28.28 MB / 1.009 GB, free: 9.902 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01335/0.8068, allocations: 10.15 MB / 1.019 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001272/0.8082, allocations: 19.88 kB / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.8092, allocations: 278.1 kB / 1.019 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00304/0.8123, allocations: 0.931 MB / 1.02 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002333/0.8146, allocations: 0.6987 MB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003295/0.818, allocations: 2.408 MB / 1.023 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009122/0.8189, allocations: 0.5187 MB / 1.023 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002026/0.8209, allocations: 0.8361 MB / 1.024 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/0.8219, allocations: 0.6301 MB / 1.025 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.246e-05/0.822, allocations: 32 kB / 1.025 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001376/0.8234, allocations: 0.5185 MB / 1.025 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.8236, allocations: 131.3 kB / 1.026 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002466/0.8238, allocations: 181.3 kB / 1.026 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009013/0.8247, allocations: 0.7542 MB / 1.026 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.8248, allocations: 0 / 1.026 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8248, allocations: 4 kB / 1.026 GB, free: 7.766 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.8248, allocations: 0 / 1.026 GB, free: 7.766 MB / 0.7794 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.001632/0.8264, allocations: 1.027 MB / 1.027 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.8265, allocations: 12.03 kB / 1.027 GB, free: 6.676 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001066/0.8266, allocations: 86.52 kB / 1.028 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.8267, allocations: 94.88 kB / 1.028 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007787/0.8275, allocations: 0.5382 MB / 1.028 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.651e-05/0.8276, allocations: 41 kB / 1.028 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.835e-05/0.8276, allocations: 52 kB / 1.028 GB, free: 5.82 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007289/0.8284, allocations: 418.4 kB / 1.029 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.8284, allocations: 4 kB / 1.029 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.999e-05/0.8284, allocations: 27.92 kB / 1.029 GB, free: 5.375 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.8285, allocations: 8 kB / 1.029 GB, free: 5.367 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005866/0.8291, allocations: 307.8 kB / 1.029 GB, free: 5.066 MB / 0.7794 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.003202/0.8323, allocations: 1.854 MB / 1.031 GB, free: 3.059 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003953/0.8327, allocations: 170.4 kB / 1.031 GB, free: 2.883 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/0.8329, allocations: 88.81 kB / 1.031 GB, free: 2.793 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003894/0.8333, allocations: 340.4 kB / 1.031 GB, free: 2.387 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.885e-05/0.8333, allocations: 34.52 kB / 1.031 GB, free: 2.344 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=19): time 2.104e-06/0.8334, allocations: 0 / 1.031 GB, free: 2.344 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19): time 0.0008075/0.8342, allocations: 325.4 kB / 1.032 GB, free: 2.02 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.8342, allocations: 55.41 kB / 1.032 GB, free: 1.953 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007867/0.835, allocations: 0.6765 MB / 1.032 GB, free: 1.266 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.8351, allocations: 33.7 kB / 1.032 GB, free: 1.227 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002992/0.8354, allocations: 372.7 kB / 1.033 GB, free: 0.8594 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.774e-05/0.8354, allocations: 63.11 kB / 1.033 GB, free: 0.7969 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.701e-05/0.8355, allocations: 4 kB / 1.033 GB, free: 0.793 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.8356, allocations: 378.8 kB / 1.033 GB, free: 424 kB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.8359, allocations: 100.7 kB / 1.033 GB, free: 324 kB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000285/0.8362, allocations: 183.8 kB / 1.033 GB, free: 116 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002736/0.8364, allocations: 125.6 kB / 1.034 GB, free: 15.99 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.8365, allocations: 0 / 1.034 GB, free: 15.99 MB / 0.795 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006706/0.8371, allocations: 398.5 kB / 1.034 GB, free: 15.6 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.019e-05/0.8372, allocations: 114.6 kB / 1.034 GB, free: 15.47 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.8372, allocations: 0 / 1.034 GB, free: 15.47 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.8373, allocations: 4 kB / 1.034 GB, free: 15.47 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009355/0.8382, allocations: 159.9 kB / 1.034 GB, free: 15.31 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001283/0.8395, allocations: 2.36 MB / 1.037 GB, free: 12.86 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005945/0.8401, allocations: 95.73 kB / 1.037 GB, free: 12.77 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-05/0.8402, allocations: 15.98 kB / 1.037 GB, free: 12.75 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.806e-06/0.8402, allocations: 4 kB / 1.037 GB, free: 12.75 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005569/0.8407, allocations: 291.8 kB / 1.037 GB, free: 12.46 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-06/0.8408, allocations: 0 / 1.037 GB, free: 12.46 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.662e-06/0.8408, allocations: 7.938 kB / 1.037 GB, free: 12.45 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003977/0.8412, allocations: 99.88 kB / 1.037 GB, free: 12.36 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.8412, allocations: 4 kB / 1.037 GB, free: 12.35 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004388/0.8416, allocations: 80.28 kB / 1.037 GB, free: 12.27 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.8417, allocations: 19.98 kB / 1.037 GB, free: 12.25 MB / 0.795 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.0003185/0.842, allocations: 261 kB / 1.037 GB, free: 11.99 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.001e-05/0.8421, allocations: 71.11 kB / 1.037 GB, free: 11.92 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006613/0.8428, allocations: 322.1 kB / 1.038 GB, free: 11.6 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.8428, allocations: 11.94 kB / 1.038 GB, free: 11.59 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.8428, allocations: 0 / 1.038 GB, free: 11.59 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.8428, allocations: 3.984 kB / 1.038 GB, free: 11.58 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/0.8441, allocations: 0.9027 MB / 1.039 GB, free: 10.61 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.8441, allocations: 4 kB / 1.039 GB, free: 10.61 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003157/0.8444, allocations: 75.88 kB / 1.039 GB, free: 10.54 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/0.8445, allocations: 7.953 kB / 1.039 GB, free: 10.53 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.8445, allocations: 4 kB / 1.039 GB, free: 10.52 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001199/0.8457, allocations: 2.352 MB / 1.041 GB, free: 8.078 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.8457, allocations: 7.969 kB / 1.041 GB, free: 8.07 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005395/0.8462, allocations: 407.5 kB / 1.041 GB, free: 7.645 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001956/0.8465, allocations: 172.1 kB / 1.042 GB, free: 7.457 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.278e-05/0.8465, allocations: 7.984 kB / 1.042 GB, free: 7.449 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003628/0.8469, allocations: 47.86 kB / 1.042 GB, free: 7.402 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.471e-05/0.847, allocations: 19.92 kB / 1.042 GB, free: 7.383 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.847, allocations: 15.98 kB / 1.042 GB, free: 7.367 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000551/0.8475, allocations: 467 kB / 1.042 GB, free: 6.914 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8476, allocations: 0 / 1.042 GB, free: 6.914 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0009172/0.8485, allocations: 355.1 kB / 1.042 GB, free: 6.566 MB / 0.795 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.001436/0.8499, allocations: 1.085 MB / 1.044 GB, free: 5.449 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001608/0.8515, allocations: 0.4922 MB / 1.044 GB, free: 4.957 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.8516, allocations: 0 / 1.044 GB, free: 4.957 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003979/0.852, allocations: 149.8 kB / 1.044 GB, free: 4.812 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001862/0.8538, allocations: 376.8 kB / 1.045 GB, free: 4.453 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005677/0.8595, allocations: 3.549 MB / 1.048 GB, free: 0.8281 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006074/0.8602, allocations: 0.9292 MB / 1.049 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0006118/0.8608, allocations: 118.9 kB / 1.049 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003145/0.8611, allocations: 259.3 kB / 1.049 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of SimCode: time 7.82e-07/0.8611, allocations: 3.938 kB / 1.049 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03942/0.9006, allocations: 18.45 MB / 1.067 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002317/0.9008, allocations: 287.2 kB / 1.068 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.383/3.284, allocations: 4.062 kB / 1.068 GB, free: 13.14 MB / 0.8262 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) Environment - environmentSimulation: 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