Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 100.1 kB / 15.88 MB, free: 12 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.001163/0.001164, allocations: 198.1 kB / 16.79 MB, free: 6.809 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.363/1.363, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.43/2.43, allocations: 390.2 MB / 0.6649 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 63.89 kB / 0.8125 GB, free: 14.93 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7023/0.7039, allocations: 140.4 MB / 0.9496 GB, free: 9.277 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1747/0.8786, allocations: 165.3 MB / 1.111 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.008069/0.8867, allocations: 6.554 MB / 1.117 GB, free: 5.723 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006249/0.8874, allocations: 15.88 kB / 1.117 GB, free: 5.707 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006518/0.888, allocations: 127.1 kB / 1.118 GB, free: 5.582 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002334/0.8904, allocations: 0.7899 MB / 1.118 GB, free: 4.789 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009785/0.8915, allocations: 291.1 kB / 1.119 GB, free: 4.508 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001152/0.8926, allocations: 1.01 MB / 1.12 GB, free: 3.496 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004656/0.8931, allocations: 242 kB / 1.12 GB, free: 3.258 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00126/0.8944, allocations: 0.502 MB / 1.12 GB, free: 2.754 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005317/0.8949, allocations: 290.9 kB / 1.121 GB, free: 2.469 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 6.221e-05/0.895, allocations: 16 kB / 1.121 GB, free: 2.453 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008222/0.8958, allocations: 395 kB / 1.121 GB, free: 2.066 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.896, allocations: 103.7 kB / 1.121 GB, free: 1.965 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002165/0.8962, allocations: 155.2 kB / 1.121 GB, free: 1.812 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0005003/0.8967, allocations: 327.3 kB / 1.122 GB, free: 1.492 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.8967, allocations: 0 / 1.122 GB, free: 1.492 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.062e-06/0.8967, allocations: 0 / 1.122 GB, free: 1.492 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.8968, allocations: 0 / 1.122 GB, free: 1.492 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009843/0.8977, allocations: 0.6164 MB / 1.122 GB, free: 0.8281 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.8978, allocations: 12.03 kB / 1.122 GB, free: 0.8164 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003525/0.8982, allocations: 67.42 kB / 1.122 GB, free: 0.75 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004315/0.8986, allocations: 301.2 kB / 1.122 GB, free: 424 kB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.8986, allocations: 24.56 kB / 1.123 GB, free: 400 kB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.597e-05/0.8987, allocations: 24 kB / 1.123 GB, free: 376 kB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005602/0.8992, allocations: 327.6 kB / 1.123 GB, free: 20 kB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.8993, allocations: 3.938 kB / 1.123 GB, free: 16 kB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.8993, allocations: 8 kB / 1.123 GB, free: 8 kB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.8993, allocations: 8 kB / 1.123 GB, free: 0 / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004443/0.8998, allocations: 201.5 kB / 1.123 GB, free: 15.8 MB / 0.8887 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.001629/0.9014, allocations: 1.546 MB / 1.125 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002685/0.9017, allocations: 126.5 kB / 1.125 GB, free: 13.99 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.9019, allocations: 84.81 kB / 1.125 GB, free: 13.9 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006884/0.9026, allocations: 307.2 kB / 1.125 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.9026, allocations: 30.56 kB / 1.125 GB, free: 13.51 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.9026, allocations: 4 kB / 1.125 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of matching and sorting (n=13): time 0.0007705/0.9034, allocations: 273.1 kB / 1.125 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.9034, allocations: 51.41 kB / 1.125 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003148/0.9038, allocations: 308.5 kB / 1.126 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.9038, allocations: 33.7 kB / 1.126 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.9039, allocations: 180.1 kB / 1.126 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.408e-05/0.904, allocations: 43.39 kB / 1.126 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.092e-05/0.9041, allocations: 41.61 kB / 1.126 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.9042, allocations: 338.8 kB / 1.126 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.9043, allocations: 59.95 kB / 1.126 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.9045, allocations: 114.3 kB / 1.126 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003221/0.9049, allocations: 173 kB / 1.127 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.9049, allocations: 3.938 kB / 1.127 GB, free: 11.83 MB / 0.8887 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004424/0.9053, allocations: 225.2 kB / 1.127 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.9054, allocations: 8 kB / 1.127 GB, free: 11.6 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.9054, allocations: 0 / 1.127 GB, free: 11.6 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.9054, allocations: 4 kB / 1.127 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.9056, allocations: 27.98 kB / 1.127 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.9056, allocations: 4 kB / 1.127 GB, free: 11.56 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.9058, allocations: 35.67 kB / 1.127 GB, free: 11.53 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.573e-05/0.9059, allocations: 16.08 kB / 1.127 GB, free: 11.51 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001478/0.906, allocations: 149.7 kB / 1.127 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.477e-05/0.9061, allocations: 27.62 kB / 1.127 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004465/0.9065, allocations: 210.7 kB / 1.127 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.9066, allocations: 7.984 kB / 1.127 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.9066, allocations: 0 / 1.127 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.9066, allocations: 0 / 1.127 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.9076, allocations: 0.6875 MB / 1.128 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.9076, allocations: 4 kB / 1.128 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.9078, allocations: 23.98 kB / 1.128 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.9078, allocations: 7.938 kB / 1.128 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.9078, allocations: 8 kB / 1.128 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.9078, allocations: 7.875 kB / 1.128 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.9078, allocations: 4 kB / 1.128 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004325/0.9083, allocations: 333.1 kB / 1.128 GB, free: 9.926 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.9084, allocations: 116.8 kB / 1.128 GB, free: 9.793 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.167e-05/0.9084, allocations: 11.98 kB / 1.128 GB, free: 9.781 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.9086, allocations: 27.77 kB / 1.129 GB, free: 9.754 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.9087, allocations: 11.98 kB / 1.129 GB, free: 9.742 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.9087, allocations: 8 kB / 1.129 GB, free: 9.734 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002017/0.9089, allocations: 215.1 kB / 1.129 GB, free: 9.523 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9089, allocations: 8 kB / 1.129 GB, free: 9.516 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004005/0.9093, allocations: 75.89 kB / 1.129 GB, free: 9.441 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.000406/0.9097, allocations: 159.1 kB / 1.129 GB, free: 9.285 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004061/0.9102, allocations: 151.8 kB / 1.129 GB, free: 9.137 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.9102, allocations: 0 / 1.129 GB, free: 9.137 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.9104, allocations: 80.56 kB / 1.129 GB, free: 9.059 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008314/0.9112, allocations: 152.2 kB / 1.129 GB, free: 8.914 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009716/0.9122, allocations: 0.6615 MB / 1.13 GB, free: 8.195 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.9125, allocations: 0.7798 MB / 1.131 GB, free: 7.387 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.906e-05/0.9126, allocations: 23.44 kB / 1.131 GB, free: 7.363 MB / 0.8887 GB Notification: Performance of SimCode: time 6.31e-07/0.9126, allocations: 0 / 1.131 GB, free: 7.363 MB / 0.8887 GB Notification: Performance of Templates: time 0.007966/0.9206, allocations: 4.55 MB / 1.135 GB, free: 2.867 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches