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.001067/0.001067, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001395/0.001395, allocations: 172.7 kB / 15.95 MB, free: 208 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.405/1.405, allocations: 223.3 MB / 240 MB, free: 5.328 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.526/2.526, allocations: 390.4 MB / 0.6655 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.0003601, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8345/0.8349, allocations: 142.3 MB / 0.9539 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.0268/0.8617, allocations: 28.27 MB / 0.9815 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01565/0.8774, allocations: 10.16 MB / 0.9914 GB, free: 9.359 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001548/0.879, allocations: 22.94 kB / 0.9914 GB, free: 9.348 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001487/0.8805, allocations: 268.1 kB / 0.9917 GB, free: 9.125 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004645/0.8852, allocations: 0.9266 MB / 0.9926 GB, free: 8.379 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003124/0.8884, allocations: 0.7065 MB / 0.9933 GB, free: 7.727 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004195/0.8926, allocations: 2.409 MB / 0.9956 GB, free: 5.305 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001713/0.8943, allocations: 0.5262 MB / 0.9961 GB, free: 4.762 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00281/0.8971, allocations: 0.8322 MB / 0.9969 GB, free: 3.926 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001732/0.8989, allocations: 0.6224 MB / 0.9975 GB, free: 3.301 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002872/0.8992, allocations: 28 kB / 0.9976 GB, free: 3.273 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/0.901, allocations: 0.5185 MB / 0.9981 GB, free: 2.754 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003152/0.9014, allocations: 127.3 kB / 0.9982 GB, free: 2.629 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0005873/0.902, allocations: 185.2 kB / 0.9984 GB, free: 2.441 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001546/0.9035, allocations: 0.7581 MB / 0.9991 GB, free: 1.684 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.9035, allocations: 4 kB / 0.9991 GB, free: 1.68 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9035, allocations: 0 / 0.9991 GB, free: 1.68 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.429e-05/0.9036, allocations: 3.938 kB / 0.9991 GB, free: 1.676 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.002166/0.9058, allocations: 1.027 MB / 1 GB, free: 0.5977 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.9058, allocations: 15.95 kB / 1 GB, free: 0.582 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001839/0.906, allocations: 86.53 kB / 1 GB, free: 500 kB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002548/0.9063, allocations: 94.88 kB / 1 GB, free: 404 kB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.9075, allocations: 0.5227 MB / 1.001 GB, free: 15.83 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.046e-05/0.9075, allocations: 44.94 kB / 1.001 GB, free: 15.79 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.573e-05/0.9076, allocations: 52 kB / 1.001 GB, free: 15.74 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008551/0.9085, allocations: 422.4 kB / 1.001 GB, free: 15.32 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.9085, allocations: 0 / 1.001 GB, free: 15.32 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.697e-05/0.9085, allocations: 16 kB / 1.001 GB, free: 15.3 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.9086, allocations: 12 kB / 1.001 GB, free: 15.29 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006421/0.9092, allocations: 315.8 kB / 1.002 GB, free: 14.98 MB / 0.7637 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.003083/0.9123, allocations: 1.858 MB / 1.003 GB, free: 12.97 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003667/0.9127, allocations: 166.5 kB / 1.004 GB, free: 12.8 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.9129, allocations: 92.81 kB / 1.004 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003221/0.9132, allocations: 340.5 kB / 1.004 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.9133, allocations: 34.56 kB / 1.004 GB, free: 12.26 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=19): time 2.424e-06/0.9133, allocations: 0 / 1.004 GB, free: 12.26 MB / 0.7637 GB Notification: Performance of matching and sorting (n=19): time 0.0007953/0.9141, allocations: 326.8 kB / 1.004 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.9141, allocations: 55.36 kB / 1.004 GB, free: 11.87 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000769/0.9149, allocations: 0.6804 MB / 1.005 GB, free: 11.18 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.9149, allocations: 29.7 kB / 1.005 GB, free: 11.14 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002861/0.9152, allocations: 360.7 kB / 1.005 GB, free: 10.79 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 5.899e-05/0.9153, allocations: 74.98 kB / 1.006 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.961e-05/0.9153, allocations: 12 kB / 1.006 GB, free: 10.7 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.9155, allocations: 370.8 kB / 1.006 GB, free: 10.33 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/0.9157, allocations: 104.7 kB / 1.006 GB, free: 10.23 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000282/0.916, allocations: 183.5 kB / 1.006 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000252/0.9163, allocations: 125.5 kB / 1.006 GB, free: 9.902 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.9163, allocations: 0 / 1.006 GB, free: 9.902 MB / 0.7637 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006678/0.917, allocations: 390.6 kB / 1.007 GB, free: 9.516 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 8.051e-05/0.917, allocations: 114.6 kB / 1.007 GB, free: 9.391 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.9171, allocations: 0 / 1.007 GB, free: 9.391 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.9171, allocations: 8 kB / 1.007 GB, free: 9.383 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009543/0.918, allocations: 163.9 kB / 1.007 GB, free: 9.223 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.9193, allocations: 2.372 MB / 1.009 GB, free: 6.758 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005544/0.9199, allocations: 87.53 kB / 1.009 GB, free: 6.672 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.153e-05/0.92, allocations: 12 kB / 1.009 GB, free: 6.66 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 9.268e-06/0.92, allocations: 3.984 kB / 1.009 GB, free: 6.656 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005345/0.9205, allocations: 292.1 kB / 1.01 GB, free: 6.371 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.9205, allocations: 7.984 kB / 1.01 GB, free: 6.363 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.21e-06/0.9205, allocations: 7.953 kB / 1.01 GB, free: 6.355 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004138/0.921, allocations: 103.9 kB / 1.01 GB, free: 6.254 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.921, allocations: 0 / 1.01 GB, free: 6.254 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004332/0.9214, allocations: 83.53 kB / 1.01 GB, free: 6.172 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.976e-05/0.9215, allocations: 16 kB / 1.01 GB, free: 6.156 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.0003178/0.9218, allocations: 261 kB / 1.01 GB, free: 5.891 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.95e-05/0.9219, allocations: 71.09 kB / 1.01 GB, free: 5.82 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006608/0.9226, allocations: 328.9 kB / 1.01 GB, free: 5.496 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.9226, allocations: 3.953 kB / 1.01 GB, free: 5.492 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.9226, allocations: 0 / 1.01 GB, free: 5.492 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.9226, allocations: 0 / 1.01 GB, free: 5.492 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/0.9239, allocations: 0.8995 MB / 1.011 GB, free: 4.523 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.9239, allocations: 0 / 1.011 GB, free: 4.523 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003205/0.9242, allocations: 83.86 kB / 1.011 GB, free: 4.441 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.321e-06/0.9242, allocations: 3.984 kB / 1.011 GB, free: 4.438 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.9243, allocations: 8 kB / 1.011 GB, free: 4.43 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/0.9254, allocations: 2.356 MB / 1.014 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.9254, allocations: 0 / 1.014 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005046/0.9259, allocations: 410.3 kB / 1.014 GB, free: 1.555 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000197/0.9261, allocations: 184 kB / 1.014 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.052e-05/0.9262, allocations: 4 kB / 1.014 GB, free: 1.352 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/0.9265, allocations: 51.94 kB / 1.014 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.035e-05/0.9266, allocations: 23.86 kB / 1.014 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-05/0.9266, allocations: 12 kB / 1.014 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0005573/0.9272, allocations: 471 kB / 1.015 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9272, allocations: 0 / 1.015 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009154/0.9281, allocations: 347.1 kB / 1.015 GB, free: 480 kB / 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.00129/0.9294, allocations: 1.082 MB / 1.016 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001499/0.9309, allocations: 0.4916 MB / 1.017 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.931, allocations: 0 / 1.017 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003655/0.9313, allocations: 144.1 kB / 1.017 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001738/0.9331, allocations: 372.9 kB / 1.017 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005568/0.9387, allocations: 3.549 MB / 1.021 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005089/0.9392, allocations: 0.9292 MB / 1.022 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0005578/0.9398, allocations: 119.2 kB / 1.022 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002913/0.9401, allocations: 255.3 kB / 1.022 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of SimCode: time 8.31e-07/0.9401, allocations: 0 / 1.022 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03809/0.9782, allocations: 18.47 MB / 1.04 GB, free: 7.418 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002043/0.9784, allocations: 279.5 kB / 1.04 GB, free: 7.059 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.26/3.239, allocations: 0 / 1.04 GB, free: 7.059 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