Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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.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.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001386/0.001392, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.001081/0.00108, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 223.2 MB / 239.9 MB, free: 5.309 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.55/2.55, allocations: 390.3 MB / 0.6653 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004921/0.0004922, allocations: 16 kB / 0.8145 GB, free: 14.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8978/0.8983, allocations: 142.3 MB / 0.9535 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.0009344/0.8993, allocations: 0.5055 MB / 0.954 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.219e-05/0.8994, allocations: 48.72 kB / 0.9541 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.283e-05/0.8995, allocations: 5.156 kB / 0.9541 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.883e-05/0.8995, allocations: 7.922 kB / 0.9541 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.955e-05/0.8996, allocations: 6.375 kB / 0.9541 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.119e-05/0.8996, allocations: 10.84 kB / 0.9541 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.883e-05/0.8997, allocations: 36.7 kB / 0.9541 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.8998, allocations: 33.28 kB / 0.9542 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.154e-05/0.8999, allocations: 20.86 kB / 0.9542 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.985e-05/0.8999, allocations: 12.09 kB / 0.9542 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.8999, allocations: 2.156 kB / 0.9542 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.554e-06/0.8999, allocations: 2.031 kB / 0.9542 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.232e-05/0.9, allocations: 13.67 kB / 0.9542 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.006e-05/0.9, allocations: 37.2 kB / 0.9542 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.156e-05/0.9001, allocations: 50.84 kB / 0.9543 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.9001, allocations: 0 / 0.9543 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.162e-06/0.9001, allocations: 0 / 0.9543 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.9001, allocations: 0 / 0.9543 GB, free: 7.613 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.0003015/0.9004, allocations: 372.1 kB / 0.9546 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.9004, allocations: 9.938 kB / 0.9546 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.196e-05/0.9005, allocations: 15.7 kB / 0.9547 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.9006, allocations: 189.9 kB / 0.9548 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.9007, allocations: 6.625 kB / 0.9549 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.9007, allocations: 8.25 kB / 0.9549 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.9008, allocations: 91.95 kB / 0.9549 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.9008, allocations: 1.344 kB / 0.9549 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.9008, allocations: 0 / 0.9549 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.9008, allocations: 3 kB / 0.955 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.095e-05/0.9009, allocations: 41.94 kB / 0.955 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004278/0.9014, allocations: 442.6 kB / 0.9554 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.13e-05/0.9014, allocations: 40.69 kB / 0.9555 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.254e-06/0.9014, allocations: 1.75 kB / 0.9555 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.229e-05/0.9014, allocations: 30.56 kB / 0.9555 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.9014, allocations: 5.219 kB / 0.9555 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001502/0.9016, allocations: 58.31 kB / 0.9555 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.9016, allocations: 78.42 kB / 0.9556 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.9018, allocations: 161.8 kB / 0.9558 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.715e-06/0.9018, allocations: 26.89 kB / 0.9558 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.888e-05/0.9018, allocations: 99.42 kB / 0.9559 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.141e-05/0.9018, allocations: 17.8 kB / 0.9559 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-06/0.9019, allocations: 0 / 0.9559 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.742e-05/0.9019, allocations: 321.3 kB / 0.9562 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.685e-05/0.9019, allocations: 11.42 kB / 0.9562 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.122e-05/0.902, allocations: 17.94 kB / 0.9562 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.494e-05/0.902, allocations: 8.875 kB / 0.9563 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.902, allocations: 0 / 0.9563 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.253e-05/0.9021, allocations: 58.78 kB / 0.9563 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.9021, allocations: 5.375 kB / 0.9563 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.9021, allocations: 1.094 kB / 0.9563 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.9021, allocations: 5.562 kB / 0.9563 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.611e-05/0.9022, allocations: 8.062 kB / 0.9563 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.9022, allocations: 1.375 kB / 0.9563 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.735e-05/0.9022, allocations: 2.75 kB / 0.9563 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.9022, allocations: 1.219 kB / 0.9563 GB, free: 5.52 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.755e-05/0.9023, allocations: 116.6 kB / 0.9564 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.8e-05/0.9023, allocations: 7.781 kB / 0.9565 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.178e-05/0.9024, allocations: 15.2 kB / 0.9565 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.9024, allocations: 5.172 kB / 0.9565 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.9024, allocations: 5.312 kB / 0.9565 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.9024, allocations: 0 / 0.9565 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.9027, allocations: 478.3 kB / 0.9569 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.9027, allocations: 3.938 kB / 0.9569 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.745e-05/0.9027, allocations: 3.531 kB / 0.9569 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.9027, allocations: 1.188 kB / 0.9569 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.9027, allocations: 0 / 0.9569 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.9027, allocations: 1.312 kB / 0.9569 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.9027, allocations: 5.188 kB / 0.9569 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.289e-05/0.9028, allocations: 92.09 kB / 0.957 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.192e-05/0.9029, allocations: 95.22 kB / 0.9571 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.9029, allocations: 1.188 kB / 0.9571 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.972e-05/0.9029, allocations: 1.031 kB / 0.9571 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.125e-05/0.9029, allocations: 9.359 kB / 0.9571 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.9029, allocations: 1.188 kB / 0.9571 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.061e-05/0.903, allocations: 120.7 kB / 0.9573 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.903, allocations: 0 / 0.9573 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001816/0.9032, allocations: 11.12 kB / 0.9573 GB, free: 4.539 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000111/0.9033, allocations: 97.06 kB / 0.9574 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.809e-05/0.9034, allocations: 17.25 kB / 0.9574 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.9034, allocations: 5.562 kB / 0.9574 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.223e-05/0.9034, allocations: 11.36 kB / 0.9574 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001024/0.9035, allocations: 8.562 kB / 0.9574 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002833/0.9038, allocations: 173.5 kB / 0.9576 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.9039, allocations: 0.696 MB / 0.9582 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.291e-05/0.904, allocations: 9.078 kB / 0.9583 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.734e-05/0.904, allocations: 11.19 kB / 0.9583 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of SimCode: time 1.242e-06/0.904, allocations: 0 / 0.9583 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of Templates: time 0.002255/0.9063, allocations: 417.5 kB / 0.9587 GB, free: 3.32 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches