Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.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.0008418/0.0008418, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008063/0.0008063, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.9132/0.9132, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.737/1.737, allocations: 377.9 MB / 0.6229 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.RelativeHumidity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relHum.port_a.m_flow|relHum.phi|senRelHum.phi",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity") translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relHum.port_a.m_flow|relHum.phi|senRelHum.phi",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 0.9822 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.125e-05/3.303e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.07 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.6144/0.6144, allocations: 145.7 MB / 1.125 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.002371/0.6168, allocations: 1.478 MB / 1.126 GB, free: 13.58 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002989/0.6171, allocations: 14.44 kB / 1.126 GB, free: 13.57 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004539/0.6175, allocations: 150.2 kB / 1.126 GB, free: 13.48 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0011/0.6186, allocations: 489.4 kB / 1.127 GB, free: 13.21 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001733/0.6204, allocations: 0.7905 MB / 1.127 GB, free: 12.84 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0007211/0.6211, allocations: 0.699 MB / 1.128 GB, free: 12.52 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000323/0.6214, allocations: 201.1 kB / 1.128 GB, free: 12.43 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008764/0.6223, allocations: 0.5609 MB / 1.129 GB, free: 12.19 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.6225, allocations: 200.2 kB / 1.129 GB, free: 12.12 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.823e-05/0.6226, allocations: 24.44 kB / 1.129 GB, free: 12.12 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001274/0.6238, allocations: 0.7382 MB / 1.13 GB, free: 11.87 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.624, allocations: 120.5 kB / 1.13 GB, free: 11.82 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.6241, allocations: 116 kB / 1.13 GB, free: 11.77 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.6252, allocations: 0.7699 MB / 1.131 GB, free: 11.52 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.6252, allocations: 0 / 1.131 GB, free: 11.52 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6252, allocations: 1.125 kB / 1.131 GB, free: 11.52 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.6252, allocations: 4 kB / 1.131 GB, free: 11.51 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0009175/0.6261, allocations: 0.608 MB / 1.131 GB, free: 11.05 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.6262, allocations: 8.438 kB / 1.131 GB, free: 11.05 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003506/0.6265, allocations: 88.64 kB / 1.131 GB, free: 11.02 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.6268, allocations: 257.6 kB / 1.132 GB, free: 10.83 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.6269, allocations: 14.66 kB / 1.132 GB, free: 10.82 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.143e-05/0.6269, allocations: 25.31 kB / 1.132 GB, free: 10.82 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004977/0.6274, allocations: 358.9 kB / 1.132 GB, free: 10.64 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.6274, allocations: 6.078 kB / 1.132 GB, free: 10.64 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/0.6274, allocations: 10.12 kB / 1.132 GB, free: 10.63 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.6274, allocations: 5.531 kB / 1.132 GB, free: 10.63 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004503/0.6279, allocations: 284 kB / 1.132 GB, free: 10.56 MB / 0.9948 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.001111/0.629, allocations: 0.9318 MB / 1.133 GB, free: 9.938 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005361/0.6295, allocations: 239.1 kB / 1.133 GB, free: 9.859 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.6297, allocations: 123.2 kB / 1.134 GB, free: 9.824 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000328/0.6301, allocations: 88.42 kB / 1.134 GB, free: 9.816 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.6301, allocations: 32.55 kB / 1.134 GB, free: 9.777 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=19): time 2.856e-06/0.6301, allocations: 0 / 1.134 GB, free: 9.777 MB / 0.9948 GB Notification: Performance of matching and sorting (n=19): time 0.0007779/0.6309, allocations: 404.2 kB / 1.134 GB, free: 9.648 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.6309, allocations: 54 kB / 1.134 GB, free: 9.586 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.6311, allocations: 227.4 kB / 1.134 GB, free: 9.441 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.6311, allocations: 26.8 kB / 1.134 GB, free: 9.41 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 7.659e-05/0.6312, allocations: 177.8 kB / 1.135 GB, free: 9.262 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/0.6312, allocations: 68.42 kB / 1.135 GB, free: 9.207 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.485e-05/0.6313, allocations: 43.3 kB / 1.135 GB, free: 9.18 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.143e-05/0.6313, allocations: 339.6 kB / 1.135 GB, free: 8.852 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.6315, allocations: 99.8 kB / 1.135 GB, free: 8.832 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.6317, allocations: 246.3 kB / 1.135 GB, free: 8.648 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003663/0.6321, allocations: 272.5 kB / 1.136 GB, free: 8.531 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6321, allocations: 0 / 1.136 GB, free: 8.531 MB / 0.9948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000425/0.6325, allocations: 316.6 kB / 1.136 GB, free: 8.414 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.6325, allocations: 5.5 kB / 1.136 GB, free: 8.414 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.6325, allocations: 1.375 kB / 1.136 GB, free: 8.414 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.6325, allocations: 6.906 kB / 1.136 GB, free: 8.41 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.6327, allocations: 56.34 kB / 1.136 GB, free: 8.406 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.6327, allocations: 6.562 kB / 1.136 GB, free: 8.406 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.6328, allocations: 34.75 kB / 1.136 GB, free: 8.395 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/0.6329, allocations: 15.61 kB / 1.136 GB, free: 8.387 MB / 0.9948 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 (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 prepare postOptimizeDAE: time 0.0001059/0.633, allocations: 163 kB / 1.136 GB, free: 8.242 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.633, allocations: 23.61 kB / 1.136 GB, free: 8.23 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004765/0.6335, allocations: 317.9 kB / 1.136 GB, free: 8.113 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.6335, allocations: 1.562 kB / 1.136 GB, free: 8.113 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.6335, allocations: 1.469 kB / 1.136 GB, free: 8.113 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.6335, allocations: 1.594 kB / 1.136 GB, free: 8.113 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009264/0.6344, allocations: 0.7141 MB / 1.137 GB, free: 7.684 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.6344, allocations: 2.188 kB / 1.137 GB, free: 7.684 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.6346, allocations: 53.41 kB / 1.137 GB, free: 7.676 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.6346, allocations: 4 kB / 1.137 GB, free: 7.676 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.6346, allocations: 11.47 kB / 1.137 GB, free: 7.668 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.6346, allocations: 3.312 kB / 1.137 GB, free: 7.668 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.6346, allocations: 3.312 kB / 1.137 GB, free: 7.668 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006795/0.6353, allocations: 0.5564 MB / 1.138 GB, free: 7.367 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.197e-05/0.6353, allocations: 41.62 kB / 1.138 GB, free: 7.348 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.6354, allocations: 10.95 kB / 1.138 GB, free: 7.34 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.6355, allocations: 22.8 kB / 1.138 GB, free: 7.336 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.379e-05/0.6355, allocations: 16.44 kB / 1.138 GB, free: 7.336 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.6356, allocations: 10.77 kB / 1.138 GB, free: 7.332 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 9.956e-05/0.6357, allocations: 165.8 kB / 1.138 GB, free: 7.234 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.6357, allocations: 0 / 1.138 GB, free: 7.234 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004389/0.6361, allocations: 116.1 kB / 1.138 GB, free: 7.203 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (relHum.phi) * 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 (19): * Single equations (assignments): 19 * 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.0003318/0.6364, allocations: 194.2 kB / 1.138 GB, free: 7.082 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0004796/0.6369, allocations: 252.8 kB / 1.139 GB, free: 7.02 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.6369, allocations: 1.438 kB / 1.139 GB, free: 7.02 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002127/0.6371, allocations: 128.6 kB / 1.139 GB, free: 6.988 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004343/0.6376, allocations: 100.5 kB / 1.139 GB, free: 6.961 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008816/0.6384, allocations: 0.6056 MB / 1.139 GB, free: 6.547 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.6386, allocations: 170.8 kB / 1.14 GB, free: 6.461 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.586e-05/0.6387, allocations: 26.78 kB / 1.14 GB, free: 6.453 MB / 0.9948 GB Notification: Performance of SimCode: time 1.042e-06/0.6387, allocations: 0 / 1.14 GB, free: 6.453 MB / 0.9948 GB Notification: Performance of Templates: time 0.008428/0.6471, allocations: 4.896 MB / 1.144 GB, free: 5.941 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.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.184265633113682]