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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001078/0.001078, allocations: 99.27 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 180.1 kB / 16.92 MB, free: 6.918 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.434/1.434, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.389/2.389, allocations: 390.9 MB / 0.667 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.0003673, allocations: 8 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6933/0.6936, allocations: 142.4 MB / 0.9557 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.0009403/0.6946, allocations: 0.5373 MB / 0.9562 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001059/0.6948, allocations: 49.02 kB / 0.9563 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.476e-05/0.6948, allocations: 1.562 kB / 0.9563 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.416e-05/0.6949, allocations: 7.875 kB / 0.9563 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.432e-05/0.695, allocations: 4.969 kB / 0.9563 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.821e-05/0.695, allocations: 19.08 kB / 0.9563 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.6951, allocations: 51.22 kB / 0.9564 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.6953, allocations: 46.88 kB / 0.9564 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.726e-05/0.6954, allocations: 13.44 kB / 0.9564 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.602e-05/0.6954, allocations: 24.55 kB / 0.9564 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.6954, allocations: 1.031 kB / 0.9564 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.987e-06/0.6954, allocations: 1.938 kB / 0.9564 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.6955, allocations: 10.3 kB / 0.9565 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.994e-05/0.6955, allocations: 55.19 kB / 0.9565 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.464e-05/0.6956, allocations: 51.77 kB / 0.9566 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.6956, allocations: 0 / 0.9566 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6956, allocations: 1.125 kB / 0.9566 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.6956, allocations: 0 / 0.9566 GB, free: 7.113 MB / 0.7169 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.0003028/0.6959, allocations: 360.7 kB / 0.9569 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.696, allocations: 13.62 kB / 0.9569 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.696, allocations: 13.81 kB / 0.9569 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.6962, allocations: 198.1 kB / 0.9571 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.6962, allocations: 12.03 kB / 0.9571 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.6962, allocations: 8.625 kB / 0.9571 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.6964, allocations: 95.64 kB / 0.9572 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.6964, allocations: 192 / 0.9572 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.6964, allocations: 5.25 kB / 0.9572 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.6964, allocations: 1.25 kB / 0.9572 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.151e-05/0.6965, allocations: 36.45 kB / 0.9573 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000416/0.6969, allocations: 441.7 kB / 0.9577 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.07e-05/0.6969, allocations: 36.66 kB / 0.9577 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.987e-05/0.697, allocations: 15.56 kB / 0.9577 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.697, allocations: 9.281 kB / 0.9577 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.348e-05/0.697, allocations: 35.75 kB / 0.9578 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.697, allocations: 0 / 0.9578 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001558/0.6972, allocations: 59.03 kB / 0.9578 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/0.6972, allocations: 78.14 kB / 0.9579 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.6973, allocations: 165.3 kB / 0.9581 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.665e-06/0.6974, allocations: 29.95 kB / 0.9581 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.387e-05/0.6974, allocations: 104.6 kB / 0.9582 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.935e-06/0.6974, allocations: 9.125 kB / 0.9582 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.878e-05/0.6974, allocations: 10.47 kB / 0.9582 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.761e-05/0.6975, allocations: 321.4 kB / 0.9585 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.562e-05/0.6975, allocations: 7.312 kB / 0.9585 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.821e-05/0.6975, allocations: 14.25 kB / 0.9585 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.904e-05/0.6976, allocations: 34.34 kB / 0.9586 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.6976, allocations: 1.125 kB / 0.9586 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.128e-05/0.6977, allocations: 54.44 kB / 0.9586 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.6977, allocations: 6 kB / 0.9586 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.6977, allocations: 3.938 kB / 0.9586 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.6977, allocations: 1.25 kB / 0.9586 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.862e-05/0.6978, allocations: 9.688 kB / 0.9586 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.6978, allocations: 0 / 0.9586 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.945e-05/0.6978, allocations: 18.06 kB / 0.9587 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.6978, allocations: 5.547 kB / 0.9587 GB, free: 4.945 MB / 0.7169 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 4.778e-05/0.6979, allocations: 118.1 kB / 0.9588 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.215e-05/0.6979, allocations: 12.17 kB / 0.9588 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.05e-05/0.698, allocations: 14 kB / 0.9588 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.698, allocations: 1.219 kB / 0.9588 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.698, allocations: 0 / 0.9588 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.698, allocations: 1.188 kB / 0.9588 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000262/0.6982, allocations: 474.3 kB / 0.9593 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.6983, allocations: 0.9062 kB / 0.9593 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.854e-05/0.6983, allocations: 6.359 kB / 0.9593 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.6983, allocations: 1.219 kB / 0.9593 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.6983, allocations: 1.25 kB / 0.9593 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.6983, allocations: 0 / 0.9593 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.6983, allocations: 1.375 kB / 0.9593 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.441e-05/0.6984, allocations: 82.09 kB / 0.9594 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.22e-05/0.6984, allocations: 95.75 kB / 0.9594 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.6984, allocations: 1.375 kB / 0.9594 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.016e-05/0.6985, allocations: 1.438 kB / 0.9594 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.441e-05/0.6985, allocations: 1.344 kB / 0.9594 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.6985, allocations: 0 / 0.9594 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.761e-05/0.6986, allocations: 120.4 kB / 0.9596 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6986, allocations: 4.031 kB / 0.9596 GB, free: 4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001871/0.6988, allocations: 10.72 kB / 0.9596 GB, free: 3.996 MB / 0.7169 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 9.426e-05/0.6989, allocations: 100.5 kB / 0.9597 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.823e-05/0.6989, allocations: 18.09 kB / 0.9597 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6989, allocations: 1.094 kB / 0.9597 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.089e-05/0.699, allocations: 4.344 kB / 0.9597 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.6991, allocations: 15.45 kB / 0.9597 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002915/0.6994, allocations: 211.7 kB / 0.9599 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.6995, allocations: 0.6986 MB / 0.9606 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.394e-05/0.6996, allocations: 11.56 kB / 0.9606 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.6996, allocations: 3.938 kB / 0.9606 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of Templates: time 0.001897/0.7015, allocations: 0.8407 MB / 0.9614 GB, free: 2.523 MB / 0.7169 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