Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.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.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi",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.0009966/0.0009968, allocations: 89.89 kB / 15.06 MB, free: 1.094 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.001296/0.001296, allocations: 172.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.415/1.415, allocations: 223.2 MB / 240 MB, free: 5.449 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.473/2.473, allocations: 390.4 MB / 0.6655 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003875/0.0003876, allocations: 8 kB / 0.8149 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.785/0.7854, allocations: 142.3 MB / 0.9539 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.000892/0.7864, allocations: 463.9 kB / 0.9543 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000892/0.7873, allocations: 0.867 MB / 0.9552 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.486e-05/0.7873, allocations: 5.406 kB / 0.9552 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.979e-05/0.7874, allocations: 3.938 kB / 0.9552 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.654e-05/0.7875, allocations: 9.672 kB / 0.9552 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000174/0.7876, allocations: 34.23 kB / 0.9552 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.7878, allocations: 83.14 kB / 0.9553 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.7879, allocations: 12.2 kB / 0.9553 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.985e-05/0.788, allocations: 40.77 kB / 0.9553 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.596e-05/0.7881, allocations: 42.34 kB / 0.9554 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.7881, allocations: 3.469 kB / 0.9554 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.031e-05/0.7881, allocations: 3.438 kB / 0.9554 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.675e-05/0.7882, allocations: 22.05 kB / 0.9554 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.825e-05/0.7882, allocations: 31.39 kB / 0.9554 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.194e-05/0.7883, allocations: 60.47 kB / 0.9555 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.7883, allocations: 0 / 0.9555 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.056e-06/0.7883, allocations: 0 / 0.9555 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.7883, allocations: 4.812 kB / 0.9555 GB, free: 6.824 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005964/0.7889, allocations: 408.6 kB / 0.9559 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.789, allocations: 9.312 kB / 0.9559 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.213e-05/0.789, allocations: 36.62 kB / 0.9559 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.386e-05/0.7891, allocations: 12.02 kB / 0.9559 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.374e-05/0.7892, allocations: 183.7 kB / 0.9561 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.7892, allocations: 6.625 kB / 0.9561 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.7892, allocations: 3.281 kB / 0.9561 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003081/0.7895, allocations: 129.8 kB / 0.9562 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.7896, allocations: 5.188 kB / 0.9562 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.7896, allocations: 0 / 0.9562 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.7896, allocations: 2.375 kB / 0.9563 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003378/0.7899, allocations: 131.4 kB / 0.9564 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004898/0.7904, allocations: 426.5 kB / 0.9568 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003599/0.7908, allocations: 133.3 kB / 0.9569 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.791, allocations: 68.95 kB / 0.957 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.791, allocations: 9.531 kB / 0.957 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.791, allocations: 36.12 kB / 0.957 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.791, allocations: 0 / 0.957 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0006295/0.7917, allocations: 210.6 kB / 0.9572 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.7917, allocations: 77.89 kB / 0.9573 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.7918, allocations: 140.5 kB / 0.9574 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.7919, allocations: 25.7 kB / 0.9575 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.815e-05/0.7919, allocations: 95.14 kB / 0.9575 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.7919, allocations: 27.08 kB / 0.9576 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-06/0.7919, allocations: 0 / 0.9576 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.444e-05/0.792, allocations: 325 kB / 0.9579 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.7922, allocations: 52.92 kB / 0.9579 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.7924, allocations: 69.27 kB / 0.958 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.7925, allocations: 67.27 kB / 0.9581 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7925, allocations: 0 / 0.9581 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003949/0.7929, allocations: 161.5 kB / 0.9582 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.793, allocations: 5.688 kB / 0.9582 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.793, allocations: 0 / 0.9582 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.793, allocations: 1.312 kB / 0.9582 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.7932, allocations: 34.5 kB / 0.9583 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.7932, allocations: 5.281 kB / 0.9583 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.7933, allocations: 24.83 kB / 0.9583 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.7934, allocations: 6.297 kB / 0.9583 GB, free: 4.371 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.963e-05/0.7935, allocations: 117.6 kB / 0.9584 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.775e-05/0.7935, allocations: 7.781 kB / 0.9584 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004867/0.794, allocations: 207.8 kB / 0.9586 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.794, allocations: 9.328 kB / 0.9586 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.794, allocations: 5.188 kB / 0.9586 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.794, allocations: 3.938 kB / 0.9586 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.7943, allocations: 215.3 kB / 0.9588 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.7943, allocations: 1.125 kB / 0.9588 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.7944, allocations: 33.33 kB / 0.9589 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.7944, allocations: 5.359 kB / 0.9589 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.7944, allocations: 5.688 kB / 0.9589 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.7945, allocations: 0 / 0.9589 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.7945, allocations: 5.344 kB / 0.9589 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003873/0.7949, allocations: 339.3 kB / 0.9592 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.6e-05/0.7949, allocations: 102.5 kB / 0.9593 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.7949, allocations: 12.98 kB / 0.9593 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.7951, allocations: 15.58 kB / 0.9593 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/0.7952, allocations: 9.641 kB / 0.9593 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.7952, allocations: 6.719 kB / 0.9593 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.184e-05/0.7953, allocations: 111.8 kB / 0.9594 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8.82e-07/0.7953, allocations: 0 / 0.9594 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002738/0.7955, allocations: 23.53 kB / 0.9595 GB, free: 3.355 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005913/0.7961, allocations: 0.8811 MB / 0.9603 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003727/0.7965, allocations: 137 kB / 0.9605 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.7965, allocations: 1.375 kB / 0.9605 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.7967, allocations: 82.62 kB / 0.9605 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004428/0.7972, allocations: 25.3 kB / 0.9606 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.7985, allocations: 0.7593 MB / 0.9613 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/0.7987, allocations: 0.6949 MB / 0.962 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.51e-05/0.7988, allocations: 15.3 kB / 0.962 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.652e-05/0.7989, allocations: 29.45 kB / 0.962 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.7989, allocations: 4.719 kB / 0.962 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01298/0.8119, allocations: 2.696 MB / 0.9647 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001831/0.8121, allocations: 206.1 kB / 0.9649 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/2.508, allocations: 0 / 0.9649 GB, free: 15.66 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.mat does not exist to compare? outputFormat=mat