Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_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.SpecificEnthalpy_TDryBulPhi,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_SpecificEnthalpy_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_SpecificEnthalpy_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.001166/0.001166, allocations: 100 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.95 MB, free: 216 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.393/1.393, allocations: 223.2 MB / 239.9 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.465/2.465, allocations: 390.3 MB / 0.6653 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004604/0.0004604, allocations: 11.94 kB / 0.8146 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.787/0.7875, allocations: 142.3 MB / 0.9536 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi): time 0.0008314/0.7884, allocations: 397.9 kB / 0.954 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.7898, allocations: 1.299 MB / 0.9552 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.097e-05/0.7899, allocations: 0 / 0.9552 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.304e-05/0.7899, allocations: 4 kB / 0.9553 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.885e-05/0.79, allocations: 11.14 kB / 0.9553 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003107/0.7903, allocations: 89.89 kB / 0.9553 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.227e-05/0.7904, allocations: 35.17 kB / 0.9554 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.521e-05/0.7905, allocations: 12.69 kB / 0.9554 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.893e-05/0.7906, allocations: 14.42 kB / 0.9554 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.034e-05/0.7906, allocations: 22.8 kB / 0.9554 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.7906, allocations: 1.281 kB / 0.9554 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002772/0.7909, allocations: 158 kB / 0.9556 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.372e-05/0.7909, allocations: 12.86 kB / 0.9556 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.547e-05/0.791, allocations: 29.08 kB / 0.9556 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.7912, allocations: 88.25 kB / 0.9557 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.7912, allocations: 0 / 0.9557 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.264e-06/0.7912, allocations: 1.188 kB / 0.9557 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.7912, allocations: 0 / 0.9557 GB, free: 6.465 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004609/0.7917, allocations: 382.8 kB / 0.9561 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.7917, allocations: 8.469 kB / 0.9561 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.773e-05/0.7917, allocations: 31.47 kB / 0.9561 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004075/0.7921, allocations: 33.83 kB / 0.9561 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.284e-05/0.7922, allocations: 177.4 kB / 0.9563 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.7923, allocations: 5.25 kB / 0.9563 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.7923, allocations: 2.719 kB / 0.9563 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.7925, allocations: 86.47 kB / 0.9564 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.7925, allocations: 0 / 0.9564 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.7926, allocations: 3.953 kB / 0.9564 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.7926, allocations: 1.5 kB / 0.9564 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002833/0.7929, allocations: 81.98 kB / 0.9565 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004818/0.7933, allocations: 317.3 kB / 0.9568 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000367/0.7937, allocations: 88.05 kB / 0.9569 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.7937, allocations: 8.938 kB / 0.9569 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/0.7938, allocations: 35.69 kB / 0.9569 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.7938, allocations: 0 / 0.9569 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0005291/0.7943, allocations: 140.1 kB / 0.957 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.7943, allocations: 52.69 kB / 0.9571 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.445e-05/0.7944, allocations: 114 kB / 0.9572 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.7945, allocations: 27.14 kB / 0.9572 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.7945, allocations: 89.27 kB / 0.9573 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.7945, allocations: 21.44 kB / 0.9573 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-06/0.7945, allocations: 5.25 kB / 0.9573 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.263e-05/0.7946, allocations: 320.3 kB / 0.9576 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.7948, allocations: 31.72 kB / 0.9577 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.7949, allocations: 37.28 kB / 0.9577 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.795, allocations: 37.28 kB / 0.9578 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.7951, allocations: 1.094 kB / 0.9578 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003263/0.7954, allocations: 119.9 kB / 0.9579 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.7954, allocations: 5.531 kB / 0.9579 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.7954, allocations: 1 kB / 0.9579 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.7955, allocations: 0 / 0.9579 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.7956, allocations: 26.62 kB / 0.9579 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.7956, allocations: 0 / 0.9579 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.7957, allocations: 17.64 kB / 0.9579 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.7958, allocations: 5.656 kB / 0.9579 GB, free: 4.41 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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.089e-05/0.7958, allocations: 111.4 kB / 0.958 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.7959, allocations: 5.391 kB / 0.958 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.824e-05/0.7959, allocations: 9.531 kB / 0.958 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.7959, allocations: 5.281 kB / 0.958 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.7959, allocations: 3.984 kB / 0.958 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.7959, allocations: 0 / 0.958 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.7961, allocations: 176.5 kB / 0.9582 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.7961, allocations: 0 / 0.9582 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.7962, allocations: 17.58 kB / 0.9582 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.7963, allocations: 3.953 kB / 0.9582 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.7963, allocations: 9.391 kB / 0.9582 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.7963, allocations: 0 / 0.9582 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.7963, allocations: 9.375 kB / 0.9583 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003275/0.7966, allocations: 207.4 kB / 0.9585 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.521e-05/0.7967, allocations: 82.86 kB / 0.9585 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.7967, allocations: 5.734 kB / 0.9585 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.7968, allocations: 11.2 kB / 0.9585 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.7969, allocations: 1.781 kB / 0.9586 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.7969, allocations: 5.922 kB / 0.9586 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.576e-05/0.7969, allocations: 89.47 kB / 0.9586 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7969, allocations: 0 / 0.9586 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002677/0.7972, allocations: 23.84 kB / 0.9587 GB, free: 3.664 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (4): * Single equations (assignments): 4 * 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.0006029/0.7978, allocations: 0.7527 MB / 0.9594 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003214/0.7981, allocations: 83.67 kB / 0.9595 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.7981, allocations: 0 / 0.9595 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.7983, allocations: 40.12 kB / 0.9595 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.7985, allocations: 17.06 kB / 0.9595 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.7996, allocations: 0.5591 MB / 0.9601 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.7997, allocations: 0.6849 MB / 0.9607 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001107/0.7999, allocations: 9.25 kB / 0.9608 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.846e-05/0.7999, allocations: 16.98 kB / 0.9608 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of SimCode: time 7.71e-07/0.7999, allocations: 1.719 kB / 0.9608 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01214/0.8121, allocations: 1.788 MB / 0.9625 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001693/0.8123, allocations: 213.5 kB / 0.9627 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.608/2.421, allocations: 3.938 kB / 0.9627 GB, free: 0.6602 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_SpecificEnthalpy_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_SpecificEnthalpy_TDryBulPhi.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi_res.mat does not exist to compare? outputFormat=mat