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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hBulPhi.h|phi.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi") translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hBulPhi.h|phi.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.427/1.427, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.547/2.547, allocations: 390.2 MB / 0.6646 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001452, allocations: 67.88 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7942/0.7957, allocations: 140.4 MB / 0.9496 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi): time 0.001835/0.7976, allocations: 0.6637 MB / 0.9502 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00154/0.7991, allocations: 1.362 MB / 0.9516 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.244e-05/0.7992, allocations: 1.656 kB / 0.9516 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.978e-05/0.7992, allocations: 7.922 kB / 0.9516 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.062e-05/0.7993, allocations: 17.17 kB / 0.9516 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003523/0.7997, allocations: 100.8 kB / 0.9517 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.643e-05/0.7997, allocations: 51.47 kB / 0.9517 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.7999, allocations: 9.656 kB / 0.9517 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.353e-05/0.7999, allocations: 18.8 kB / 0.9518 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.599e-05/0.8, allocations: 27.56 kB / 0.9518 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.8, allocations: 7.281 kB / 0.9518 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002536/0.8003, allocations: 145.2 kB / 0.9519 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.8003, allocations: 9.047 kB / 0.9519 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.92e-05/0.8003, allocations: 17.31 kB / 0.952 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.8005, allocations: 129.2 kB / 0.9521 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.8005, allocations: 1.312 kB / 0.9521 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8005, allocations: 3.938 kB / 0.9521 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.339e-06/0.8005, allocations: 0 / 0.9521 GB, free: 7.266 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.0004545/0.801, allocations: 385 kB / 0.9525 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.801, allocations: 11.89 kB / 0.9525 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004193/0.8015, allocations: 31.47 kB / 0.9525 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.006e-05/0.8016, allocations: 169.6 kB / 0.9527 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.8016, allocations: 2.938 kB / 0.9527 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.8016, allocations: 3 kB / 0.9527 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.8019, allocations: 86 kB / 0.9528 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.8019, allocations: 4.125 kB / 0.9528 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.8019, allocations: 3.938 kB / 0.9528 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.8019, allocations: 1.625 kB / 0.9528 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002917/0.8022, allocations: 72.3 kB / 0.9528 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004886/0.8027, allocations: 321.3 kB / 0.9531 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003012/0.803, allocations: 79.86 kB / 0.9532 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.8032, allocations: 39.48 kB / 0.9532 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.8032, allocations: 1.219 kB / 0.9533 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/0.8032, allocations: 34.56 kB / 0.9533 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.8032, allocations: 1.469 kB / 0.9533 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0005246/0.8038, allocations: 125.2 kB / 0.9534 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.088e-05/0.8038, allocations: 52.94 kB / 0.9535 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.051e-05/0.8039, allocations: 113.6 kB / 0.9536 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.8039, allocations: 29.7 kB / 0.9536 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.506e-05/0.8039, allocations: 91.17 kB / 0.9537 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.437e-05/0.8039, allocations: 13.53 kB / 0.9537 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-05/0.804, allocations: 26.3 kB / 0.9537 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.184e-05/0.8041, allocations: 319.9 kB / 0.954 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.8042, allocations: 31.78 kB / 0.9541 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.8043, allocations: 28.78 kB / 0.9541 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002596/0.8046, allocations: 74.3 kB / 0.9541 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.8046, allocations: 0 / 0.9541 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000309/0.8049, allocations: 106.3 kB / 0.9543 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.8049, allocations: 5.094 kB / 0.9543 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.805, allocations: 5.188 kB / 0.9543 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.805, allocations: 4 kB / 0.9543 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.8051, allocations: 20.36 kB / 0.9543 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/0.8051, allocations: 3.938 kB / 0.9543 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.8053, allocations: 10.2 kB / 0.9543 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.8053, allocations: 5.266 kB / 0.9543 GB, free: 5.18 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.675e-05/0.8053, allocations: 116.5 kB / 0.9544 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.8054, allocations: 5.094 kB / 0.9544 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.411e-05/0.8054, allocations: 13.44 kB / 0.9544 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.8054, allocations: 5.484 kB / 0.9544 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.8054, allocations: 0 / 0.9544 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.8054, allocations: 0 / 0.9544 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.8056, allocations: 177 kB / 0.9546 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.8056, allocations: 0 / 0.9546 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.8057, allocations: 19.19 kB / 0.9546 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.8057, allocations: 0 / 0.9546 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.8057, allocations: 5.375 kB / 0.9546 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.8058, allocations: 0 / 0.9546 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.8058, allocations: 4 kB / 0.9546 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003302/0.8061, allocations: 194.8 kB / 0.9548 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.167e-05/0.8061, allocations: 85.97 kB / 0.9549 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.8062, allocations: 1.062 kB / 0.9549 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.8063, allocations: 9.875 kB / 0.9549 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/0.8063, allocations: 5.391 kB / 0.9549 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.8063, allocations: 5.438 kB / 0.9549 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.299e-05/0.8064, allocations: 90.64 kB / 0.955 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8064, allocations: 1.188 kB / 0.955 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002611/0.8067, allocations: 22.88 kB / 0.955 GB, free: 4.438 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 (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.0001474/0.8068, allocations: 107.9 kB / 0.9551 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003274/0.8071, allocations: 77.44 kB / 0.9552 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.8072, allocations: 1.438 kB / 0.9552 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.8073, allocations: 34.73 kB / 0.9552 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.8076, allocations: 24.36 kB / 0.9553 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004607/0.8081, allocations: 154.5 kB / 0.9554 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.8082, allocations: 0.696 MB / 0.9561 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001099/0.8084, allocations: 16.31 kB / 0.9561 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.8084, allocations: 10.16 kB / 0.9561 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.8084, allocations: 0 / 0.9561 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of Templates: time 0.003157/0.8116, allocations: 1.032 MB / 0.9571 GB, free: 2.883 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_SpecificEnthalpy_TDryBulPhi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches