Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.TemperatureDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFloRat.T|temSteSta.T|temDyn.T|temDynLoss.T|masFloRat.ports.1..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFloRat.T|temSteSta.T|temDyn.T|temDynLoss.T|masFloRat.ports.1..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00804/0.00804, allocations: 97.8 kB / 15.73 MB, free: 5.996 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.001857/0.001857, allocations: 184.7 kB / 16.67 MB, free: 5.926 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.487/1.487, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.775/2.775, allocations: 437 MB / 0.7105 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 67.89 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3046, allocations: 151.6 MB / 1.167 GB, free: 6.801 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.9583/1.263, allocations: 181.8 MB / 1.344 GB, free: 9.055 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007773/1.271, allocations: 4.447 MB / 1.348 GB, free: 5.887 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001246/1.272, allocations: 21.38 kB / 1.349 GB, free: 5.879 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001047/1.273, allocations: 246.3 kB / 1.349 GB, free: 5.711 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.003071/1.276, allocations: 0.801 MB / 1.35 GB, free: 5.262 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004985/1.281, allocations: 1.553 MB / 1.351 GB, free: 4.496 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002611/1.284, allocations: 1.262 MB / 1.352 GB, free: 3.926 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008517/1.285, allocations: 455.2 kB / 1.353 GB, free: 3.734 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001491/1.286, allocations: 0.5847 MB / 1.353 GB, free: 3.48 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009628/1.287, allocations: 410.1 kB / 1.354 GB, free: 3.301 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001889/1.287, allocations: 45.06 kB / 1.354 GB, free: 3.301 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004116/1.292, allocations: 1.557 MB / 1.355 GB, free: 2.664 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003807/1.292, allocations: 181.5 kB / 1.355 GB, free: 2.586 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000757/1.293, allocations: 304.4 kB / 1.356 GB, free: 2.414 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004317/1.297, allocations: 1.303 MB / 1.357 GB, free: 1.977 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/1.297, allocations: 0 / 1.357 GB, free: 1.977 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.144e-06/1.297, allocations: 0 / 1.357 GB, free: 1.977 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.852e-05/1.297, allocations: 1.25 kB / 1.357 GB, free: 1.977 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.004346/1.302, allocations: 1.05 MB / 1.358 GB, free: 1.18 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 7.025e-05/1.302, allocations: 10.16 kB / 1.358 GB, free: 1.18 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002789/1.304, allocations: 287.6 kB / 1.358 GB, free: 1.121 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/1.306, allocations: 473.4 kB / 1.359 GB, free: 0.7891 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.295e-05/1.306, allocations: 31.88 kB / 1.359 GB, free: 0.7773 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/1.306, allocations: 47.61 kB / 1.359 GB, free: 0.7617 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/1.308, allocations: 0.5451 MB / 1.359 GB, free: 0.5039 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/1.308, allocations: 1.094 kB / 1.359 GB, free: 0.5039 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.662e-05/1.308, allocations: 18.59 kB / 1.359 GB, free: 0.4922 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/1.308, allocations: 13.97 kB / 1.359 GB, free: 500 kB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001392/1.309, allocations: 460.7 kB / 1.36 GB, free: 364 kB / 1.029 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.003886/1.313, allocations: 2.121 MB / 1.362 GB, free: 14.78 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/1.314, allocations: 412 kB / 1.362 GB, free: 14.64 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005469/1.315, allocations: 226.6 kB / 1.362 GB, free: 14.57 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007545/1.315, allocations: 401.1 kB / 1.363 GB, free: 14.19 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006867/1.316, allocations: 290.7 kB / 1.363 GB, free: 14.03 MB / 1.045 GB Notification: Performance of pre-optimization done (n=37): time 4.389e-06/1.316, allocations: 0 / 1.363 GB, free: 14.03 MB / 1.045 GB Notification: Performance of matching and sorting (n=37): time 0.002039/1.318, allocations: 0.6991 MB / 1.364 GB, free: 13.69 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/1.318, allocations: 56.62 kB / 1.364 GB, free: 13.62 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007619/1.319, allocations: 499.3 kB / 1.364 GB, free: 13.32 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.017e-05/1.319, allocations: 33.08 kB / 1.364 GB, free: 13.29 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002451/1.319, allocations: 272.9 kB / 1.365 GB, free: 13.05 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/1.32, allocations: 126.7 kB / 1.365 GB, free: 12.94 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001981/1.32, allocations: 93.86 kB / 1.365 GB, free: 12.88 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001852/1.32, allocations: 363.4 kB / 1.365 GB, free: 12.53 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005335/1.32, allocations: 199.8 kB / 1.365 GB, free: 12.43 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006402/1.321, allocations: 318.2 kB / 1.366 GB, free: 12.21 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/1.322, allocations: 0.5383 MB / 1.366 GB, free: 11.84 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/1.322, allocations: 1 kB / 1.366 GB, free: 11.84 MB / 1.045 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001473/1.324, allocations: 0.6565 MB / 1.367 GB, free: 11.47 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.249e-05/1.324, allocations: 69.16 kB / 1.367 GB, free: 11.4 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/1.324, allocations: 2.938 kB / 1.367 GB, free: 11.4 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.028e-05/1.324, allocations: 5.125 kB / 1.367 GB, free: 11.4 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004822/1.324, allocations: 94.41 kB / 1.367 GB, free: 11.38 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-05/1.324, allocations: 12.39 kB / 1.367 GB, free: 11.37 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006925/1.325, allocations: 72.05 kB / 1.367 GB, free: 11.33 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.57e-05/1.325, allocations: 23.48 kB / 1.367 GB, free: 11.32 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0002943/1.326, allocations: 198.3 kB / 1.367 GB, free: 11.15 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/1.326, allocations: 58.42 kB / 1.367 GB, free: 11.12 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/1.327, allocations: 0.5431 MB / 1.368 GB, free: 10.82 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/1.327, allocations: 6.812 kB / 1.368 GB, free: 10.81 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.327, allocations: 0 / 1.368 GB, free: 10.81 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/1.327, allocations: 0 / 1.368 GB, free: 10.81 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002544/1.33, allocations: 1.351 MB / 1.369 GB, free: 9.836 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/1.33, allocations: 3.469 kB / 1.369 GB, free: 9.836 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004475/1.33, allocations: 76.92 kB / 1.369 GB, free: 9.812 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.081e-05/1.33, allocations: 5.5 kB / 1.369 GB, free: 9.812 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/1.33, allocations: 14.55 kB / 1.369 GB, free: 9.805 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.265e-06/1.33, allocations: 8.406 kB / 1.369 GB, free: 9.801 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/1.33, allocations: 5.062 kB / 1.369 GB, free: 9.801 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001794/1.332, allocations: 0.9343 MB / 1.37 GB, free: 9.18 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003298/1.332, allocations: 180.2 kB / 1.37 GB, free: 9.016 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/1.332, allocations: 14.81 kB / 1.37 GB, free: 9.008 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005195/1.333, allocations: 33.83 kB / 1.37 GB, free: 8.992 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/1.333, allocations: 57.64 kB / 1.371 GB, free: 8.957 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.851e-05/1.333, allocations: 14.98 kB / 1.371 GB, free: 8.953 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004802/1.334, allocations: 345.6 kB / 1.371 GB, free: 8.75 MB / 1.045 GB Notification: Performance of sort global known variables: time 4.61e-07/1.334, allocations: 0 / 1.371 GB, free: 8.75 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0008422/1.334, allocations: 152.5 kB / 1.371 GB, free: 8.727 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0005701/1.335, allocations: 212.3 kB / 1.371 GB, free: 8.578 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001314/1.336, allocations: 0.588 MB / 1.372 GB, free: 8.23 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/1.336, allocations: 0 / 1.372 GB, free: 8.23 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0006643/1.337, allocations: 288.2 kB / 1.372 GB, free: 8.102 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/1.339, allocations: 282.2 kB / 1.372 GB, free: 7.957 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/1.341, allocations: 1.051 MB / 1.373 GB, free: 7.195 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004682/1.341, allocations: 0.8681 MB / 1.374 GB, free: 6.41 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0004928/1.342, allocations: 128.4 kB / 1.374 GB, free: 6.352 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/1.342, allocations: 49.56 kB / 1.374 GB, free: 6.34 MB / 1.045 GB Notification: Performance of SimCode: time 7.11e-07/1.342, allocations: 0 / 1.374 GB, free: 6.34 MB / 1.045 GB Notification: Performance of Templates: time 0.02075/1.363, allocations: 10.85 MB / 1.385 GB, free: 0.9961 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches