Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) 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.RelativeHumidity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relHum.port_a.m_flow|relHum.phi|senRelHum.phi",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity") translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relHum.port_a.m_flow|relHum.phi|senRelHum.phi",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 113.9 kB / 16.42 MB, free: 6.449 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.00156/0.00156, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.465/1.465, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.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.47/2.47, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 63.91 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.719/0.7204, allocations: 151.6 MB / 1.167 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1677/0.8881, allocations: 165.3 MB / 1.329 GB, free: 13.91 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003113/0.8912, allocations: 1.54 MB / 1.33 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000371/0.8916, allocations: 11.94 kB / 1.33 GB, free: 12.35 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004739/0.8921, allocations: 146.9 kB / 1.33 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001279/0.8934, allocations: 485.8 kB / 1.331 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002013/0.8955, allocations: 0.7703 MB / 1.332 GB, free: 10.96 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000854/0.8963, allocations: 0.7097 MB / 1.332 GB, free: 10.24 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004333/0.8968, allocations: 262.7 kB / 1.333 GB, free: 9.988 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005998/0.8974, allocations: 318.8 kB / 1.333 GB, free: 9.676 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003147/0.8977, allocations: 223 kB / 1.333 GB, free: 9.457 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.404e-05/0.8978, allocations: 28 kB / 1.333 GB, free: 9.43 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001451/0.8993, allocations: 0.8769 MB / 1.334 GB, free: 8.551 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.8994, allocations: 115.7 kB / 1.334 GB, free: 8.438 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001786/0.8996, allocations: 155.3 kB / 1.334 GB, free: 8.285 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001193/0.9008, allocations: 0.7382 MB / 1.335 GB, free: 7.547 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.9008, allocations: 4 kB / 1.335 GB, free: 7.543 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9008, allocations: 0 / 1.335 GB, free: 7.543 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.9008, allocations: 0 / 1.335 GB, free: 7.543 MB / 1.061 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.00116/0.902, allocations: 0.674 MB / 1.336 GB, free: 6.816 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.902, allocations: 8.922 kB / 1.336 GB, free: 6.809 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005166/0.9026, allocations: 87.5 kB / 1.336 GB, free: 6.723 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004754/0.9031, allocations: 313.8 kB / 1.336 GB, free: 6.379 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.9031, allocations: 24.56 kB / 1.336 GB, free: 6.355 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.715e-05/0.9031, allocations: 24 kB / 1.336 GB, free: 6.332 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006739/0.9038, allocations: 336.2 kB / 1.336 GB, free: 5.992 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.9038, allocations: 0 / 1.336 GB, free: 5.992 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.759e-05/0.9039, allocations: 4 kB / 1.336 GB, free: 5.988 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.9039, allocations: 15.88 kB / 1.336 GB, free: 5.973 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007478/0.9046, allocations: 285.5 kB / 1.337 GB, free: 5.691 MB / 1.061 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.001643/0.9063, allocations: 1.063 MB / 1.338 GB, free: 4.562 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009102/0.9072, allocations: 323.7 kB / 1.338 GB, free: 4.219 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003858/0.9076, allocations: 140.7 kB / 1.338 GB, free: 4.078 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000654/0.9083, allocations: 392.3 kB / 1.338 GB, free: 3.621 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.9083, allocations: 38.56 kB / 1.339 GB, free: 3.574 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 4.038e-06/0.9083, allocations: 3.984 kB / 1.339 GB, free: 3.57 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.001218/0.9096, allocations: 415.1 kB / 1.339 GB, free: 3.16 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.9096, allocations: 55.41 kB / 1.339 GB, free: 3.094 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.9099, allocations: 263 kB / 1.339 GB, free: 2.832 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.9099, allocations: 33.7 kB / 1.339 GB, free: 2.793 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.91, allocations: 160.2 kB / 1.339 GB, free: 2.633 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.296e-05/0.9101, allocations: 75 kB / 1.339 GB, free: 2.559 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.74e-05/0.9102, allocations: 45.7 kB / 1.34 GB, free: 2.508 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.9103, allocations: 338.8 kB / 1.34 GB, free: 2.168 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003086/0.9106, allocations: 95.91 kB / 1.34 GB, free: 2.074 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003411/0.911, allocations: 168.1 kB / 1.34 GB, free: 1.891 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006466/0.9116, allocations: 264.9 kB / 1.34 GB, free: 1.613 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.9116, allocations: 0 / 1.34 GB, free: 1.613 MB / 1.061 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007524/0.9124, allocations: 323.5 kB / 1.341 GB, free: 1.293 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.9124, allocations: 4 kB / 1.341 GB, free: 1.289 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.9124, allocations: 4 kB / 1.341 GB, free: 1.285 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.9124, allocations: 0 / 1.341 GB, free: 1.285 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/0.9127, allocations: 67.77 kB / 1.341 GB, free: 1.219 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.9127, allocations: 4.156 kB / 1.341 GB, free: 1.215 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/0.913, allocations: 43.66 kB / 1.341 GB, free: 1.172 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.905e-05/0.913, allocations: 12 kB / 1.341 GB, free: 1.16 MB / 1.061 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.0001504/0.9132, allocations: 153.7 kB / 1.341 GB, free: 1 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.636e-05/0.9133, allocations: 23.72 kB / 1.341 GB, free: 0.9766 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008173/0.9141, allocations: 319.5 kB / 1.341 GB, free: 0.6484 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.9141, allocations: 3.938 kB / 1.341 GB, free: 0.6445 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.9141, allocations: 4 kB / 1.341 GB, free: 0.6406 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.9142, allocations: 120.7 kB / 1.341 GB, free: 0.5039 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.551e-05/0.9143, allocations: 3.984 kB / 1.341 GB, free: 0.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.9145, allocations: 20.05 kB / 1.341 GB, free: 492 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.557e-05/0.9146, allocations: 27.97 kB / 1.341 GB, free: 464 kB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008838/0.9155, allocations: 374.7 kB / 1.342 GB, free: 84 kB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001151/0.9167, allocations: 0.5938 MB / 1.342 GB, free: 15.47 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003204/0.917, allocations: 124 kB / 1.342 GB, free: 15.35 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001807/0.9172, allocations: 190 kB / 1.343 GB, free: 15.17 MB / 1.076 GB Notification: Performance of Backend: time 4.81e-07/0.9172, allocations: 0 / 1.343 GB, free: 15.17 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001408/0.9186, allocations: 457.4 kB / 1.343 GB, free: 14.73 MB / 1.076 GB Notification: Performance of SimCode: time 0.001384/0.92, allocations: 1.039 MB / 1.344 GB, free: 13.64 MB / 1.076 GB Notification: Performance of Templates: time 0.01378/0.9338, allocations: 8.009 MB / 1.352 GB, free: 5.703 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches