Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 118 kB / 17.08 MB, free: 5.824 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 189.2 kB / 20.03 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 222.9 MB / 245.7 MB, free: 4.316 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.909/2.909, allocations: 489.3 MB / 0.7687 GB, free: 3.754 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.RelativeHumidity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relHum.port_a.m_flow|relHum.phi|senRelHum.phi",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 71.89 kB / 1.103 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.956/0.958, allocations: 163.8 MB / 1.263 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.2301/1.188, allocations: 165.3 MB / 1.424 GB, free: 12.88 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.003319/1.192, allocations: 1.576 MB / 1.426 GB, free: 11.61 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003484/1.192, allocations: 10.94 kB / 1.426 GB, free: 11.6 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005317/1.192, allocations: 146.4 kB / 1.426 GB, free: 11.47 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001387/1.194, allocations: 462.4 kB / 1.426 GB, free: 11.12 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002174/1.196, allocations: 0.7591 MB / 1.427 GB, free: 10.57 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0009601/1.197, allocations: 0.7011 MB / 1.428 GB, free: 10.16 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004493/1.198, allocations: 262 kB / 1.428 GB, free: 10.01 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009603/1.199, allocations: 456.2 kB / 1.428 GB, free: 9.738 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003148/1.199, allocations: 220.9 kB / 1.428 GB, free: 9.605 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 5.228e-05/1.199, allocations: 24.78 kB / 1.428 GB, free: 9.605 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/1.201, allocations: 0.8661 MB / 1.429 GB, free: 9.125 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001778/1.201, allocations: 107.6 kB / 1.429 GB, free: 9.055 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002226/1.201, allocations: 163.8 kB / 1.43 GB, free: 8.949 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001354/1.202, allocations: 0.7448 MB / 1.43 GB, free: 8.508 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/1.202, allocations: 0 / 1.43 GB, free: 8.508 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.773e-06/1.202, allocations: 4 kB / 1.43 GB, free: 8.504 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.955e-06/1.202, allocations: 1.344 kB / 1.43 GB, free: 8.504 MB / 1.123 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.001187/1.204, allocations: 0.6862 MB / 1.431 GB, free: 7.898 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/1.204, allocations: 9.406 kB / 1.431 GB, free: 7.898 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004968/1.204, allocations: 89.66 kB / 1.431 GB, free: 7.855 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004538/1.205, allocations: 311.1 kB / 1.431 GB, free: 7.562 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/1.205, allocations: 18.62 kB / 1.431 GB, free: 7.555 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.218e-05/1.205, allocations: 28.28 kB / 1.431 GB, free: 7.543 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007039/1.205, allocations: 324.1 kB / 1.432 GB, free: 7.348 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/1.205, allocations: 3.984 kB / 1.432 GB, free: 7.344 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.169e-05/1.205, allocations: 10.62 kB / 1.432 GB, free: 7.336 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/1.205, allocations: 9.562 kB / 1.432 GB, free: 7.332 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007344/1.206, allocations: 286.1 kB / 1.432 GB, free: 7.203 MB / 1.123 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.001688/1.208, allocations: 1.066 MB / 1.433 GB, free: 6.328 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009541/1.209, allocations: 328.4 kB / 1.433 GB, free: 6.105 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003478/1.209, allocations: 143.9 kB / 1.434 GB, free: 6.031 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007018/1.21, allocations: 392.6 kB / 1.434 GB, free: 5.625 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/1.21, allocations: 31.53 kB / 1.434 GB, free: 5.586 MB / 1.123 GB Notification: Performance of pre-optimization done (n=19): time 1.693e-06/1.21, allocations: 1.062 kB / 1.434 GB, free: 5.586 MB / 1.123 GB Notification: Performance of matching and sorting (n=19): time 0.001274/1.211, allocations: 411.8 kB / 1.434 GB, free: 5.379 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/1.211, allocations: 52.72 kB / 1.434 GB, free: 5.316 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000301/1.212, allocations: 273.6 kB / 1.435 GB, free: 5.121 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/1.212, allocations: 31.86 kB / 1.435 GB, free: 5.086 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/1.212, allocations: 170.3 kB / 1.435 GB, free: 4.93 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 6.347e-05/1.212, allocations: 71.56 kB / 1.435 GB, free: 4.867 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.453e-05/1.212, allocations: 51.06 kB / 1.435 GB, free: 4.828 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001633/1.212, allocations: 333.5 kB / 1.435 GB, free: 4.5 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003265/1.212, allocations: 107.5 kB / 1.435 GB, free: 4.449 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000413/1.213, allocations: 160.2 kB / 1.435 GB, free: 4.34 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007484/1.214, allocations: 265.9 kB / 1.436 GB, free: 4.184 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/1.214, allocations: 4 kB / 1.436 GB, free: 4.18 MB / 1.123 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008571/1.215, allocations: 322.7 kB / 1.436 GB, free: 4.012 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/1.215, allocations: 4.531 kB / 1.436 GB, free: 4.012 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/1.215, allocations: 6.469 kB / 1.436 GB, free: 4.008 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.657e-05/1.215, allocations: 6.125 kB / 1.436 GB, free: 4.004 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002921/1.215, allocations: 53.67 kB / 1.436 GB, free: 3.992 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/1.215, allocations: 2.094 kB / 1.436 GB, free: 3.992 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002955/1.215, allocations: 48.06 kB / 1.436 GB, free: 3.961 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/1.215, allocations: 6.906 kB / 1.436 GB, free: 3.961 MB / 1.123 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.0001933/1.215, allocations: 153.4 kB / 1.436 GB, free: 3.82 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.282e-05/1.216, allocations: 27.66 kB / 1.436 GB, free: 3.805 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008404/1.216, allocations: 317.1 kB / 1.437 GB, free: 3.621 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/1.216, allocations: 6.406 kB / 1.437 GB, free: 3.617 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/1.216, allocations: 0.9375 kB / 1.437 GB, free: 3.617 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/1.216, allocations: 4 kB / 1.437 GB, free: 3.613 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/1.218, allocations: 0.9331 MB / 1.438 GB, free: 2.816 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/1.218, allocations: 1.5 kB / 1.438 GB, free: 2.816 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002633/1.218, allocations: 47.95 kB / 1.438 GB, free: 2.805 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/1.218, allocations: 5.312 kB / 1.438 GB, free: 2.801 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.636e-05/1.218, allocations: 8.125 kB / 1.438 GB, free: 2.797 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/1.218, allocations: 6.875 kB / 1.438 GB, free: 2.793 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.218, allocations: 5.375 kB / 1.438 GB, free: 2.789 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/1.22, allocations: 0.5614 MB / 1.438 GB, free: 2.406 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/1.22, allocations: 128 kB / 1.438 GB, free: 2.277 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.588e-05/1.22, allocations: 10.73 kB / 1.438 GB, free: 2.27 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/1.22, allocations: 20.42 kB / 1.438 GB, free: 2.262 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.515e-05/1.22, allocations: 24.16 kB / 1.438 GB, free: 2.246 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.602e-05/1.22, allocations: 10.88 kB / 1.438 GB, free: 2.242 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001985/1.22, allocations: 189.1 kB / 1.439 GB, free: 2.117 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/1.22, allocations: 0 / 1.439 GB, free: 2.117 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0005091/1.221, allocations: 108.9 kB / 1.439 GB, free: 2.09 MB / 1.123 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.0005607/1.222, allocations: 213.8 kB / 1.439 GB, free: 1.938 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0007728/1.222, allocations: 250.9 kB / 1.439 GB, free: 1.832 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.222, allocations: 0 / 1.439 GB, free: 1.832 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003774/1.223, allocations: 139.9 kB / 1.439 GB, free: 1.77 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007757/1.223, allocations: 134.5 kB / 1.439 GB, free: 1.699 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/1.225, allocations: 0.6391 MB / 1.44 GB, free: 1.215 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004274/1.225, allocations: 0.7798 MB / 1.441 GB, free: 484 kB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/1.225, allocations: 26.72 kB / 1.441 GB, free: 476 kB / 1.123 GB Notification: Performance of SimCode: time 2.51e-07/1.225, allocations: 0 / 1.441 GB, free: 476 kB / 1.123 GB Notification: Performance of Templates: time 0.008826/1.234, allocations: 5.141 MB / 1.446 GB, free: 11.91 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.42536246497184]