Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Controls.OBC.UnitConversions.Validation.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 104.3 kB / 15.98 MB, free: 6.355 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.001695/0.001695, allocations: 198.8 kB / 16.91 MB, free: 6.188 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.515/1.515, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.325/2.325, allocations: 390.3 MB / 0.665 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 68.92 kB / 0.8127 GB, free: 32.5 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2934, allocations: 140.4 MB / 0.9498 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.002253/0.2957, allocations: 0.8823 MB / 0.9506 GB, free: 8.359 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001351/0.2959, allocations: 39.78 kB / 0.9507 GB, free: 8.32 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.361e-05/0.2959, allocations: 0 / 0.9507 GB, free: 8.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.401e-05/0.296, allocations: 7.922 kB / 0.9507 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.951e-05/0.2961, allocations: 7.938 kB / 0.9507 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.121e-05/0.2962, allocations: 23.98 kB / 0.9507 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.2963, allocations: 55.86 kB / 0.9508 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.2964, allocations: 47.94 kB / 0.9508 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.245e-05/0.2965, allocations: 27.81 kB / 0.9508 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.858e-05/0.2966, allocations: 27.84 kB / 0.9509 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.2966, allocations: 4 kB / 0.9509 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.063e-05/0.2966, allocations: 8 kB / 0.9509 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.193e-05/0.2966, allocations: 15.94 kB / 0.9509 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.1e-05/0.2967, allocations: 31.8 kB / 0.9509 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.2968, allocations: 56.17 kB / 0.951 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2968, allocations: 0 / 0.951 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.422e-06/0.2968, allocations: 0 / 0.951 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.2968, allocations: 0 / 0.951 GB, free: 8.012 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004219/0.2972, allocations: 379.2 kB / 0.9513 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.2973, allocations: 11.97 kB / 0.9513 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.2973, allocations: 16.83 kB / 0.9514 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.2976, allocations: 188.2 kB / 0.9515 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.2976, allocations: 4.375 kB / 0.9515 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.2976, allocations: 8.375 kB / 0.9516 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.2978, allocations: 99.86 kB / 0.9516 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.2978, allocations: 192 / 0.9516 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.2978, allocations: 11.88 kB / 0.9517 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.2978, allocations: 0 / 0.9517 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.616e-05/0.2979, allocations: 39.97 kB / 0.9517 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005583/0.2985, allocations: 424.6 kB / 0.9521 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.051e-05/0.2985, allocations: 45.28 kB / 0.9521 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.311e-05/0.2986, allocations: 21.78 kB / 0.9522 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.2986, allocations: 0 / 0.9522 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.2986, allocations: 38.5 kB / 0.9522 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.2987, allocations: 0 / 0.9522 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001822/0.2988, allocations: 61.53 kB / 0.9523 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.2989, allocations: 81.05 kB / 0.9523 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.299, allocations: 168.4 kB / 0.9525 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.2991, allocations: 25.7 kB / 0.9525 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.349e-05/0.2991, allocations: 104 kB / 0.9526 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.071e-05/0.2991, allocations: 7.891 kB / 0.9526 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-05/0.2992, allocations: 17.72 kB / 0.9526 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.2993, allocations: 327.1 kB / 0.953 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.824e-05/0.2993, allocations: 4 kB / 0.953 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.457e-05/0.2994, allocations: 17.72 kB / 0.953 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.894e-05/0.2994, allocations: 25.7 kB / 0.953 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.2994, allocations: 0 / 0.953 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.254e-05/0.2995, allocations: 61.55 kB / 0.9531 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.2995, allocations: 8.062 kB / 0.9531 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.2995, allocations: 3.938 kB / 0.9531 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.2996, allocations: 0 / 0.9531 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.109e-05/0.2996, allocations: 15.92 kB / 0.9531 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.2996, allocations: 0 / 0.9531 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.315e-05/0.2997, allocations: 7.844 kB / 0.9531 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.2997, allocations: 4 kB / 0.9531 GB, free: 5.566 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 7.133e-05/0.2998, allocations: 117.8 kB / 0.9532 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.034e-05/0.2998, allocations: 7.906 kB / 0.9532 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.743e-05/0.2998, allocations: 15.81 kB / 0.9532 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.2999, allocations: 4.094 kB / 0.9532 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.2999, allocations: 7.969 kB / 0.9532 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.2999, allocations: 0 / 0.9532 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003608/0.3002, allocations: 466.8 kB / 0.9537 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3002, allocations: 4 kB / 0.9537 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.456e-05/0.3003, allocations: 4 kB / 0.9537 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.3003, allocations: 4.062 kB / 0.9537 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.3003, allocations: 4 kB / 0.9537 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.3003, allocations: 3.984 kB / 0.9537 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.3003, allocations: 4 kB / 0.9537 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.641e-05/0.3004, allocations: 81.77 kB / 0.9538 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.301e-05/0.3005, allocations: 85.02 kB / 0.9539 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.3005, allocations: 32 / 0.9539 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.034e-05/0.3005, allocations: 4 kB / 0.9539 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.537e-05/0.3005, allocations: 7.984 kB / 0.9539 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.3006, allocations: 7.938 kB / 0.9539 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.13e-05/0.3006, allocations: 117.3 kB / 0.954 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3e-07/0.3006, allocations: 4 kB / 0.954 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001886/0.3008, allocations: 4 kB / 0.954 GB, free: 4.52 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (2): * Single equations (assignments): 2 * 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.0001193/0.301, allocations: 99.25 kB / 0.9541 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.946e-05/0.3011, allocations: 19.94 kB / 0.9541 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3011, allocations: 0 / 0.9541 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.382e-05/0.3011, allocations: 8 kB / 0.9541 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001583/0.3012, allocations: 14.41 kB / 0.9541 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003129/0.3016, allocations: 212.8 kB / 0.9544 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.3018, allocations: 0.7 MB / 0.955 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.639e-05/0.3018, allocations: 11.44 kB / 0.955 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.3018, allocations: 0 / 0.955 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of Templates: time 0.002299/0.3041, allocations: 0.8599 MB / 0.9559 GB, free: 2.527 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches