Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001575/0.001582, allocations: 111 kB / 15.99 MB, free: 6.348 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.001803/0.001803, allocations: 187.7 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.361/1.361, allocations: 222.9 MB / 240.6 MB, free: 15.45 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.213/2.213, allocations: 390.2 MB / 0.665 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 72.8 kB / 0.8127 GB, free: 33.2 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2675, allocations: 140.4 MB / 0.9498 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002612/0.2702, allocations: 0.8861 MB / 0.9506 GB, free: 8.301 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001334/0.2704, allocations: 39.84 kB / 0.9507 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.553e-05/0.2704, allocations: 3.938 kB / 0.9507 GB, free: 8.258 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.55e-05/0.2705, allocations: 0 / 0.9507 GB, free: 8.258 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.581e-05/0.2706, allocations: 7.938 kB / 0.9507 GB, free: 8.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.008e-05/0.2706, allocations: 15.98 kB / 0.9507 GB, free: 8.234 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.2708, allocations: 67.78 kB / 0.9508 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.2709, allocations: 47.95 kB / 0.9508 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.739e-05/0.271, allocations: 15.94 kB / 0.9508 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.507e-05/0.271, allocations: 35.78 kB / 0.9509 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.2711, allocations: 4 kB / 0.9509 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.208e-05/0.2711, allocations: 8 kB / 0.9509 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.283e-05/0.2711, allocations: 11.92 kB / 0.9509 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.052e-05/0.2712, allocations: 35.81 kB / 0.9509 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.2713, allocations: 56.17 kB / 0.951 GB, free: 7.957 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2713, allocations: 0 / 0.951 GB, free: 7.957 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.386e-06/0.2713, allocations: 0 / 0.951 GB, free: 7.957 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.2713, allocations: 3.938 kB / 0.951 GB, free: 7.953 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.0004496/0.2718, allocations: 379.1 kB / 0.9513 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.2718, allocations: 8.031 kB / 0.9514 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.999e-05/0.2719, allocations: 8.844 kB / 0.9514 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.2721, allocations: 192.2 kB / 0.9515 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.2721, allocations: 12.38 kB / 0.9516 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.2721, allocations: 4.375 kB / 0.9516 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.2723, allocations: 106.3 kB / 0.9517 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.2723, allocations: 4.188 kB / 0.9517 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.2723, allocations: 3.938 kB / 0.9517 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2723, allocations: 0 / 0.9517 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.925e-05/0.2724, allocations: 35.98 kB / 0.9517 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005686/0.273, allocations: 440.6 kB / 0.9521 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.417e-05/0.273, allocations: 37.16 kB / 0.9522 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.873e-05/0.2731, allocations: 29.86 kB / 0.9522 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.394e-06/0.2731, allocations: 4 kB / 0.9522 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.2731, allocations: 30.56 kB / 0.9522 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.2731, allocations: 0 / 0.9522 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001844/0.2733, allocations: 57.48 kB / 0.9523 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.2734, allocations: 77.11 kB / 0.9523 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.2736, allocations: 168.4 kB / 0.9525 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.2736, allocations: 33.64 kB / 0.9525 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.608e-05/0.2737, allocations: 104 kB / 0.9526 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.277e-06/0.2737, allocations: 3.906 kB / 0.9526 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.2737, allocations: 17.72 kB / 0.9527 GB, free: 6 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.2738, allocations: 322.8 kB / 0.953 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.026e-05/0.2739, allocations: 8 kB / 0.953 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.397e-05/0.2739, allocations: 21.7 kB / 0.953 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.345e-05/0.2739, allocations: 29.66 kB / 0.953 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.274, allocations: 0 / 0.953 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.272e-05/0.274, allocations: 53.61 kB / 0.9531 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.2741, allocations: 11.98 kB / 0.9531 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.2741, allocations: 3.938 kB / 0.9531 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.2741, allocations: 3.938 kB / 0.9531 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.276e-05/0.2742, allocations: 8 kB / 0.9531 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.2742, allocations: 4.062 kB / 0.9531 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.396e-05/0.2742, allocations: 11.78 kB / 0.9531 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.2742, allocations: 4 kB / 0.9531 GB, free: 5.5 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.803e-05/0.2743, allocations: 113.8 kB / 0.9532 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.233e-05/0.2744, allocations: 7.906 kB / 0.9532 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.564e-05/0.2744, allocations: 15.8 kB / 0.9533 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.2744, allocations: 4 kB / 0.9533 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2744, allocations: 0 / 0.9533 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2744, allocations: 0 / 0.9533 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003858/0.2748, allocations: 470.8 kB / 0.9537 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2748, allocations: 0 / 0.9537 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.128e-05/0.2749, allocations: 4 kB / 0.9537 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.2749, allocations: 0 / 0.9537 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.2749, allocations: 4 kB / 0.9537 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2749, allocations: 0 / 0.9537 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2749, allocations: 4 kB / 0.9537 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.431e-05/0.275, allocations: 85.83 kB / 0.9538 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.106e-05/0.275, allocations: 85 kB / 0.9539 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.2751, allocations: 4 kB / 0.9539 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.143e-05/0.2751, allocations: 4 kB / 0.9539 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.064e-05/0.2751, allocations: 0 / 0.9539 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.2751, allocations: 0 / 0.9539 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.546e-05/0.2752, allocations: 124.7 kB / 0.954 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2752, allocations: 0 / 0.954 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000188/0.2754, allocations: 8 kB / 0.954 GB, free: 4.473 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.0001226/0.2755, allocations: 101.9 kB / 0.9541 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.123e-05/0.2756, allocations: 15.94 kB / 0.9541 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.2756, allocations: 0 / 0.9541 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-05/0.2757, allocations: 15.92 kB / 0.9541 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/0.2758, allocations: 12.19 kB / 0.9542 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003494/0.2762, allocations: 208.5 kB / 0.9544 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.2765, allocations: 0.7039 MB / 0.955 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.963e-05/0.2765, allocations: 11.44 kB / 0.9551 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.2765, allocations: 0 / 0.9551 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of Templates: time 0.002241/0.2787, allocations: 0.8561 MB / 0.9559 GB, free: 2.48 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches