Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.ThreeWayValveParameterization,fileNamePrefix="Buildings_10_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_10_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",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.001001/0.001001, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005666/0.005667, allocations: 170 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.239/1.239, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.332/2.332, allocations: 437.8 MB / 0.7121 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003252/0.0003253, allocations: 12.28 kB / 0.8729 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5118/0.5122, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1205/0.6328, allocations: 151 MB / 1.171 GB, free: 8.297 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.03289/0.6657, allocations: 30.16 MB / 1.2 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003074/0.6688, allocations: 127.1 kB / 1.2 GB, free: 9.941 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001824/0.6706, allocations: 0.8155 MB / 1.201 GB, free: 9.121 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005568/0.6762, allocations: 2.894 MB / 1.204 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004378/0.6806, allocations: 2.306 MB / 1.206 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.006092/0.6867, allocations: 7.385 MB / 1.213 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001931/0.6886, allocations: 1.847 MB / 1.215 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003416/0.6921, allocations: 2.372 MB / 1.217 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001904/0.694, allocations: 1.898 MB / 1.219 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001832/0.6942, allocations: 96 kB / 1.219 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001573/0.6957, allocations: 0.9397 MB / 1.22 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003481/0.6961, allocations: 449.8 kB / 1.221 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008749/0.697, allocations: 1.144 MB / 1.222 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00237/0.6994, allocations: 3.133 MB / 1.225 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.6994, allocations: 0 / 1.225 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6994, allocations: 0 / 1.225 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.782e-05/0.6994, allocations: 3.938 kB / 1.225 GB, free: 0.5781 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.00349/0.7029, allocations: 2.344 MB / 1.227 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.7029, allocations: 12.03 kB / 1.227 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001797/0.7031, allocations: 173.4 kB / 1.227 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003028/0.7034, allocations: 264.8 kB / 1.228 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00176/0.7052, allocations: 1.453 MB / 1.229 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.365e-05/0.7053, allocations: 102.3 kB / 1.229 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001872/0.7055, allocations: 140 kB / 1.229 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.7072, allocations: 1.171 MB / 1.23 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.7073, allocations: 3.938 kB / 1.23 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-05/0.7074, allocations: 44 kB / 1.23 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.7074, allocations: 28 kB / 1.23 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001598/0.709, allocations: 1.028 MB / 1.231 GB, free: 9.645 MB / 0.9825 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.007706/0.7167, allocations: 6.338 MB / 1.238 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008108/0.7175, allocations: 0.5754 MB / 1.238 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005214/0.7181, allocations: 394.8 kB / 1.239 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003421/0.7184, allocations: 0.507 MB / 1.239 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.7184, allocations: 39.12 kB / 1.239 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00105/0.7195, allocations: 326.9 kB / 1.239 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=58): time 1.843e-06/0.7195, allocations: 0 / 1.239 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of matching and sorting (n=58): time 0.001706/0.7212, allocations: 1.141 MB / 1.241 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.7213, allocations: 63.91 kB / 1.241 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001939/0.7232, allocations: 1.9 MB / 1.242 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.081e-05/0.7233, allocations: 49.7 kB / 1.243 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006265/0.7239, allocations: 0.9145 MB / 1.243 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.7241, allocations: 205.1 kB / 1.244 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.7242, allocations: 117.6 kB / 1.244 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.7243, allocations: 341.9 kB / 1.244 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006789/0.725, allocations: 438.4 kB / 1.244 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008545/0.7259, allocations: 0.6723 MB / 1.245 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/0.7272, allocations: 0.9695 MB / 1.246 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.7272, allocations: 0 / 1.246 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001985/0.7292, allocations: 1.385 MB / 1.247 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.456e-05/0.7293, allocations: 202.5 kB / 1.248 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.7293, allocations: 4 kB / 1.248 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.7294, allocations: 8 kB / 1.248 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.7304, allocations: 279.5 kB / 1.248 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.7305, allocations: 11.98 kB / 1.248 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.7317, allocations: 147.7 kB / 1.248 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.515e-05/0.7318, allocations: 55.95 kB / 1.248 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.66e-06/0.7319, allocations: 4 kB / 1.248 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001668/0.7335, allocations: 1.124 MB / 1.249 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.7335, allocations: 7.938 kB / 1.249 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.236e-06/0.7336, allocations: 8 kB / 1.249 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.7346, allocations: 279.9 kB / 1.249 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.7346, allocations: 11.98 kB / 1.25 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/0.7358, allocations: 139.6 kB / 1.25 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.209e-05/0.7359, allocations: 59.95 kB / 1.25 GB, free: 6.129 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (144): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004977/0.7364, allocations: 452.7 kB / 1.25 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/0.7366, allocations: 201.4 kB / 1.25 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001753/0.7383, allocations: 1.072 MB / 1.251 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.7384, allocations: 8 kB / 1.251 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.7384, allocations: 4 kB / 1.251 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.7384, allocations: 7.922 kB / 1.251 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002885/0.7413, allocations: 2.414 MB / 1.254 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.7413, allocations: 7.938 kB / 1.254 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005425/0.7418, allocations: 135.8 kB / 1.254 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.7418, allocations: 4 kB / 1.254 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.88e-05/0.7419, allocations: 23.98 kB / 1.254 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.7419, allocations: 4.188 kB / 1.254 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.7419, allocations: 8 kB / 1.254 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/0.7431, allocations: 1.054 MB / 1.255 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004337/0.7436, allocations: 386.1 kB / 1.255 GB, free: 228 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001691/0.7438, allocations: 16 kB / 1.255 GB, free: 212 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008356/0.7446, allocations: 95.75 kB / 1.255 GB, free: 116 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.075e-05/0.7447, allocations: 48.59 kB / 1.255 GB, free: 68 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.13e-05/0.7448, allocations: 31.98 kB / 1.255 GB, free: 36 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.4056/1.15, allocations: 1.247 MB / 1.257 GB, free: 227.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.61e-07/1.15, allocations: 0 / 1.257 GB, free: 227.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00222/1.153, allocations: 0.8893 MB / 1.258 GB, free: 227.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002046/1.155, allocations: 1.852 MB / 1.259 GB, free: 227 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002459/1.157, allocations: 1.591 MB / 1.261 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.157, allocations: 0.7188 kB / 1.261 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005506/1.158, allocations: 405 kB / 1.261 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005485/1.163, allocations: 1.134 MB / 1.262 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02055/1.184, allocations: 15.72 MB / 1.278 GB, free: 216.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007964/1.185, allocations: 1.406 MB / 1.279 GB, free: 216 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001754/1.186, allocations: 407.4 kB / 1.28 GB, free: 216 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008222/1.187, allocations: 0.8312 MB / 1.28 GB, free: 215.4 MB / 0.9981 GB Notification: Performance of SimCode: time 7.52e-07/1.187, allocations: 0 / 1.28 GB, free: 215.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.262/3.449, allocations: 53.86 MB / 1.333 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/3.449, allocations: 277.1 kB / 1.333 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.569/7.018, allocations: 0 / 1.333 GB, free: 168.9 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches