Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002214/0.002214, allocations: 83.69 kB / 20.24 MB, free: 4.184 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002105/0.002105, allocations: 161.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.608/1.608, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.945/2.945, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0.875 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.951e-05/4.161e-05, allocations: 13.83 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2776/0.2776, allocations: 176 MB / 0.9583 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01278/0.2904, allocations: 8.06 MB / 0.9662 GB, free: 4.133 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007561/0.2912, allocations: 35.75 kB / 0.9662 GB, free: 4.098 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001217/0.2924, allocations: 250.1 kB / 0.9664 GB, free: 3.852 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.003818/0.2962, allocations: 1.263 MB / 0.9677 GB, free: 2.578 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.002283/0.2985, allocations: 0.802 MB / 0.9685 GB, free: 1.773 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001706/0.3002, allocations: 1.075 MB / 0.9695 GB, free: 0.6914 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006438/0.3008, allocations: 341.9 kB / 0.9698 GB, free: 364 kB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003088/0.3039, allocations: 1.048 MB / 0.9709 GB, free: 15.34 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008074/0.3047, allocations: 398.9 kB / 0.9712 GB, free: 14.95 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 9.331e-05/0.3048, allocations: 36 kB / 0.9713 GB, free: 14.92 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001843/0.3067, allocations: 0.8061 MB / 0.9721 GB, free: 14.11 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0002398/0.3069, allocations: 175.5 kB / 0.9722 GB, free: 13.94 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0002638/0.3072, allocations: 175.6 kB / 0.9724 GB, free: 13.77 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001776/0.309, allocations: 0.9541 MB / 0.9733 GB, free: 12.81 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.309, allocations: 0 / 0.9733 GB, free: 12.81 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.362e-06/0.309, allocations: 4 kB / 0.9733 GB, free: 12.8 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 8.677e-06/0.309, allocations: 0 / 0.9733 GB, free: 12.8 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001456/0.3104, allocations: 0.861 MB / 0.9742 GB, free: 11.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.3105, allocations: 8.031 kB / 0.9742 GB, free: 11.89 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.3115, allocations: 215.2 kB / 0.9744 GB, free: 11.68 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007363/0.3123, allocations: 351.4 kB / 0.9747 GB, free: 11.32 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.586e-05/0.3123, allocations: 33 kB / 0.9747 GB, free: 11.29 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.477e-05/0.3124, allocations: 36 kB / 0.9748 GB, free: 11.25 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008714/0.3133, allocations: 418.2 kB / 0.9752 GB, free: 10.81 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.3133, allocations: 7.938 kB / 0.9752 GB, free: 10.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.154e-05/0.3133, allocations: 15.98 kB / 0.9752 GB, free: 10.79 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.3133, allocations: 16 kB / 0.9752 GB, free: 10.77 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005511/0.3139, allocations: 235.7 kB / 0.9754 GB, free: 10.54 MB / 0.9323 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.002633/0.3165, allocations: 1.786 MB / 0.9772 GB, free: 8.684 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004048/0.3169, allocations: 182.9 kB / 0.9774 GB, free: 8.492 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002117/0.3171, allocations: 99.64 kB / 0.9775 GB, free: 8.391 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004907/0.3176, allocations: 79.86 kB / 0.9775 GB, free: 8.312 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.3177, allocations: 37.39 kB / 0.9776 GB, free: 8.266 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=24): time 1.423e-06/0.3177, allocations: 0 / 0.9776 GB, free: 8.266 MB / 0.9323 GB Notification: Performance of matching and sorting (n=24): time 0.001013/0.3187, allocations: 364.6 kB / 0.9779 GB, free: 7.906 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.3187, allocations: 55.41 kB / 0.978 GB, free: 7.84 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004022/0.3191, allocations: 366.3 kB / 0.9783 GB, free: 7.465 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/0.3192, allocations: 33.64 kB / 0.9784 GB, free: 7.426 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002504/0.3194, allocations: 306.9 kB / 0.9786 GB, free: 7.121 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 9.609e-05/0.3195, allocations: 87.28 kB / 0.9787 GB, free: 7.035 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.3196, allocations: 63.36 kB / 0.9788 GB, free: 6.965 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0003009/0.3199, allocations: 0.5274 MB / 0.9793 GB, free: 6.426 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.3201, allocations: 75.95 kB / 0.9794 GB, free: 6.352 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003421/0.3205, allocations: 250.5 kB / 0.9796 GB, free: 6.055 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005028/0.321, allocations: 273.2 kB / 0.9799 GB, free: 5.754 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.321, allocations: 4 kB / 0.9799 GB, free: 5.75 MB / 0.9323 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007499/0.3217, allocations: 311.8 kB / 0.9802 GB, free: 5.441 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.3217, allocations: 4 kB / 0.9802 GB, free: 5.438 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.3218, allocations: 4.219 kB / 0.9802 GB, free: 5.434 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.3218, allocations: 4 kB / 0.9802 GB, free: 5.43 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002777/0.3221, allocations: 55.91 kB / 0.9802 GB, free: 5.375 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.3221, allocations: 4 kB / 0.9802 GB, free: 5.371 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.3223, allocations: 27.81 kB / 0.9803 GB, free: 5.344 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-05/0.3223, allocations: 16 kB / 0.9803 GB, free: 5.328 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (31): * Single equations (assignments): 31 * 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.0002343/0.3225, allocations: 196.5 kB / 0.9805 GB, free: 5.125 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.838e-05/0.3226, allocations: 47.7 kB / 0.9805 GB, free: 5.078 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006839/0.3233, allocations: 296.7 kB / 0.9808 GB, free: 4.777 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.3233, allocations: 4 kB / 0.9808 GB, free: 4.773 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.3233, allocations: 4 kB / 0.9808 GB, free: 4.77 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.3233, allocations: 3.984 kB / 0.9808 GB, free: 4.766 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/0.3249, allocations: 0.8617 MB / 0.9817 GB, free: 3.832 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.3249, allocations: 0 / 0.9817 GB, free: 3.832 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.3251, allocations: 48.14 kB / 0.9817 GB, free: 3.785 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.3251, allocations: 8 kB / 0.9817 GB, free: 3.777 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/0.3252, allocations: 11.98 kB / 0.9817 GB, free: 3.766 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.3252, allocations: 4 kB / 0.9817 GB, free: 3.762 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3252, allocations: 0 / 0.9817 GB, free: 3.762 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009406/0.3261, allocations: 0.5816 MB / 0.9823 GB, free: 3.133 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.3263, allocations: 55.72 kB / 0.9823 GB, free: 3.078 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.615e-05/0.3263, allocations: 11.98 kB / 0.9824 GB, free: 3.066 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.3265, allocations: 8 kB / 0.9824 GB, free: 3.059 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.291e-05/0.3266, allocations: 27.94 kB / 0.9824 GB, free: 3.031 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.3266, allocations: 12 kB / 0.9824 GB, free: 3.02 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002546/0.3268, allocations: 247 kB / 0.9826 GB, free: 2.777 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.3268, allocations: 0 / 0.9826 GB, free: 2.777 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0005107/0.3274, allocations: 123.7 kB / 0.9828 GB, free: 2.656 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * 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 (24): * Single equations (assignments): 24 * 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.000319/0.3277, allocations: 157.5 kB / 0.9829 GB, free: 2.496 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005518/0.3282, allocations: 238.2 kB / 0.9831 GB, free: 2.262 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3282, allocations: 0 / 0.9831 GB, free: 2.262 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002671/0.3285, allocations: 135.4 kB / 0.9833 GB, free: 2.125 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008223/0.3293, allocations: 139.1 kB / 0.9834 GB, free: 1.992 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.3308, allocations: 0.7731 MB / 0.9842 GB, free: 1.152 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.331, allocations: 223.1 kB / 0.9844 GB, free: 0.9141 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002489/0.3313, allocations: 70.92 kB / 0.9844 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.3314, allocations: 36.42 kB / 0.9845 GB, free: 0.8125 MB / 0.9323 GB Notification: Performance of SimCode: time 8.31e-07/0.3314, allocations: 4 kB / 0.9845 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of Templates: time 0.01296/0.3444, allocations: 5.572 MB / 0.9899 GB, free: 11.39 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.715313654975034]