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.001276/0.001276, allocations: 116.3 kB / 17.13 MB, free: 6.027 MB / 14.72 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.001393/0.001393, allocations: 208.7 kB / 20.1 MB, free: 3.074 MB / 14.72 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.435/1.435, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.888/2.888, allocations: 0.49 GB / 0.7923 GB, free: 1.453 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 71.89 kB / 1.15 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.991/0.993, allocations: 176.1 MB / 1.322 GB, free: 25.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.2054/1.198, allocations: 168.7 MB / 1.487 GB, free: 12.58 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.003265/1.202, allocations: 1.545 MB / 1.488 GB, free: 11.34 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003579/1.202, allocations: 18.44 kB / 1.488 GB, free: 11.32 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005547/1.203, allocations: 152.2 kB / 1.488 GB, free: 11.19 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001342/1.204, allocations: 482.9 kB / 1.489 GB, free: 10.83 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002116/1.206, allocations: 0.7701 MB / 1.49 GB, free: 10.27 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00103/1.207, allocations: 0.694 MB / 1.49 GB, free: 9.871 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004181/1.207, allocations: 232.5 kB / 1.491 GB, free: 9.727 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009946/1.208, allocations: 475.2 kB / 1.491 GB, free: 9.445 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003212/1.209, allocations: 237.4 kB / 1.491 GB, free: 9.301 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.867e-05/1.209, allocations: 25.16 kB / 1.491 GB, free: 9.301 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001833/1.211, allocations: 0.9011 MB / 1.492 GB, free: 8.797 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001671/1.211, allocations: 122.8 kB / 1.492 GB, free: 8.711 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001985/1.211, allocations: 155.5 kB / 1.492 GB, free: 8.613 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001403/1.212, allocations: 0.7506 MB / 1.493 GB, free: 8.168 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/1.212, allocations: 4 kB / 1.493 GB, free: 8.164 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.074e-06/1.212, allocations: 1.062 kB / 1.493 GB, free: 8.164 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.594e-06/1.212, allocations: 0 / 1.493 GB, free: 8.164 MB / 1.17 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.001303/1.214, allocations: 0.6892 MB / 1.494 GB, free: 7.555 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/1.214, allocations: 13.39 kB / 1.494 GB, free: 7.551 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005641/1.214, allocations: 92.55 kB / 1.494 GB, free: 7.504 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004854/1.215, allocations: 307.5 kB / 1.494 GB, free: 7.215 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/1.215, allocations: 22.31 kB / 1.494 GB, free: 7.203 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.264e-05/1.215, allocations: 24.25 kB / 1.494 GB, free: 7.195 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007378/1.216, allocations: 328.4 kB / 1.495 GB, free: 6.996 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/1.216, allocations: 0 / 1.495 GB, free: 6.996 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.473e-05/1.216, allocations: 10.92 kB / 1.495 GB, free: 6.988 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/1.216, allocations: 12.72 kB / 1.495 GB, free: 6.98 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007638/1.216, allocations: 287.2 kB / 1.495 GB, free: 6.852 MB / 1.17 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.001856/1.218, allocations: 1.074 MB / 1.496 GB, free: 5.969 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009689/1.219, allocations: 310 kB / 1.496 GB, free: 5.758 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003546/1.22, allocations: 129.5 kB / 1.496 GB, free: 5.691 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007692/1.22, allocations: 392.4 kB / 1.497 GB, free: 5.285 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/1.22, allocations: 31.66 kB / 1.497 GB, free: 5.246 MB / 1.17 GB Notification: Performance of pre-optimization done (n=19): time 2.234e-06/1.22, allocations: 1.094 kB / 1.497 GB, free: 5.246 MB / 1.17 GB Notification: Performance of matching and sorting (n=19): time 0.001464/1.222, allocations: 417.9 kB / 1.497 GB, free: 5.035 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/1.222, allocations: 58.09 kB / 1.497 GB, free: 4.969 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000369/1.222, allocations: 264.3 kB / 1.497 GB, free: 4.789 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.828e-05/1.222, allocations: 31.08 kB / 1.497 GB, free: 4.754 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/1.223, allocations: 171 kB / 1.498 GB, free: 4.598 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 6.974e-05/1.223, allocations: 67.92 kB / 1.498 GB, free: 4.539 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.573e-05/1.223, allocations: 43.2 kB / 1.498 GB, free: 4.508 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001682/1.223, allocations: 337.6 kB / 1.498 GB, free: 4.176 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000336/1.223, allocations: 112.1 kB / 1.498 GB, free: 4.121 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003934/1.224, allocations: 159.7 kB / 1.498 GB, free: 4.012 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007099/1.224, allocations: 271 kB / 1.499 GB, free: 3.848 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/1.224, allocations: 0 / 1.499 GB, free: 3.848 MB / 1.17 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000839/1.225, allocations: 321.8 kB / 1.499 GB, free: 3.68 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/1.225, allocations: 9.812 kB / 1.499 GB, free: 3.676 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/1.225, allocations: 2.469 kB / 1.499 GB, free: 3.676 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/1.225, allocations: 6 kB / 1.499 GB, free: 3.672 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003006/1.225, allocations: 56.88 kB / 1.499 GB, free: 3.656 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/1.225, allocations: 7.172 kB / 1.499 GB, free: 3.652 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003037/1.226, allocations: 39.55 kB / 1.499 GB, free: 3.629 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/1.226, allocations: 7.531 kB / 1.499 GB, free: 3.629 MB / 1.17 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.0001953/1.226, allocations: 152.8 kB / 1.499 GB, free: 3.488 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.377e-05/1.226, allocations: 28.28 kB / 1.499 GB, free: 3.473 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009054/1.227, allocations: 317.8 kB / 1.499 GB, free: 3.191 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/1.227, allocations: 7.938 kB / 1.499 GB, free: 3.184 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/1.227, allocations: 4 kB / 1.499 GB, free: 3.18 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/1.227, allocations: 0 / 1.499 GB, free: 3.18 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/1.229, allocations: 0.933 MB / 1.5 GB, free: 2.141 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/1.229, allocations: 0 / 1.5 GB, free: 2.141 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000283/1.229, allocations: 55.89 kB / 1.5 GB, free: 2.086 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/1.229, allocations: 4 kB / 1.5 GB, free: 2.082 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-05/1.229, allocations: 4 kB / 1.5 GB, free: 2.078 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/1.229, allocations: 4.188 kB / 1.5 GB, free: 2.074 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.229, allocations: 4 kB / 1.5 GB, free: 2.07 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/1.231, allocations: 0.561 MB / 1.501 GB, free: 1.477 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/1.231, allocations: 132.8 kB / 1.501 GB, free: 1.328 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/1.231, allocations: 12.05 kB / 1.501 GB, free: 1.316 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/1.231, allocations: 19.98 kB / 1.501 GB, free: 1.297 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.415e-05/1.231, allocations: 23.91 kB / 1.501 GB, free: 1.273 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.37e-05/1.231, allocations: 8 kB / 1.501 GB, free: 1.266 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002272/1.231, allocations: 190 kB / 1.501 GB, free: 1.082 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/1.231, allocations: 0 / 1.501 GB, free: 1.082 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005426/1.232, allocations: 115.7 kB / 1.501 GB, free: 0.9688 MB / 1.17 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.0004197/1.232, allocations: 191 kB / 1.502 GB, free: 0.7734 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0008001/1.233, allocations: 251.9 kB / 1.502 GB, free: 0.5273 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.233, allocations: 0 / 1.502 GB, free: 0.5273 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0003909/1.233, allocations: 135.8 kB / 1.502 GB, free: 404 kB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007989/1.234, allocations: 127.4 kB / 1.502 GB, free: 280 kB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/1.236, allocations: 0.6515 MB / 1.503 GB, free: 15.57 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005825/1.236, allocations: 0.7755 MB / 1.504 GB, free: 14.77 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/1.236, allocations: 31.44 kB / 1.504 GB, free: 14.73 MB / 1.186 GB Notification: Performance of SimCode: time 4.11e-07/1.236, allocations: 0 / 1.504 GB, free: 14.73 MB / 1.186 GB Notification: Performance of Templates: time 0.009121/1.245, allocations: 5.175 MB / 1.509 GB, free: 9.598 MB / 1.186 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/jenkins1/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: 12.769196492008632]