Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.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.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TMonotone|errMonotone|errNonMonotone",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u") translateModel(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TMonotone|errMonotone|errNonMonotone",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001143/0.001143, allocations: 172.7 kB / 15.95 MB, free: 208 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.464/1.464, allocations: 223.3 MB / 240 MB, free: 5.422 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.517/2.517, allocations: 390.9 MB / 0.666 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000384/0.0003842, allocations: 12 kB / 0.8153 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8129/0.8133, allocations: 142.4 MB / 0.9544 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.001515/0.8148, allocations: 1.345 MB / 0.9558 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001634/0.8165, allocations: 1.27 MB / 0.957 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.287e-05/0.8166, allocations: 3.562 kB / 0.957 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003401/0.8169, allocations: 77.36 kB / 0.9571 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.8171, allocations: 71.52 kB / 0.9571 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005028/0.8176, allocations: 208.4 kB / 0.9573 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002134/0.8178, allocations: 216.3 kB / 0.9575 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.796e-05/0.8179, allocations: 7.656 kB / 0.9575 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.818, allocations: 74.91 kB / 0.9576 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.8181, allocations: 95.16 kB / 0.9577 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.8181, allocations: 10.41 kB / 0.9577 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004037/0.8185, allocations: 275.1 kB / 0.958 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.689e-05/0.8186, allocations: 67.06 kB / 0.958 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.12e-05/0.8187, allocations: 55.2 kB / 0.9581 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003141/0.819, allocations: 264.4 kB / 0.9584 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.819, allocations: 0 / 0.9584 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.322e-06/0.819, allocations: 0 / 0.9584 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.819, allocations: 0 / 0.9584 GB, free: 4.773 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006781/0.8197, allocations: 0.5392 MB / 0.9589 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.8198, allocations: 8.75 kB / 0.9589 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.792e-05/0.8198, allocations: 24.7 kB / 0.9589 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.8201, allocations: 278.6 kB / 0.9592 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.2e-05/0.8202, allocations: 59.09 kB / 0.9592 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.8202, allocations: 2.781 kB / 0.9592 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.8204, allocations: 89.38 kB / 0.9593 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.8204, allocations: 0 / 0.9593 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.8205, allocations: 9.141 kB / 0.9593 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.8205, allocations: 0 / 0.9593 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002158/0.8207, allocations: 106.9 kB / 0.9594 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000203/0.8209, allocations: 258.4 kB / 0.9597 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.8221, allocations: 336.4 kB / 0.96 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.8222, allocations: 63.27 kB / 0.9601 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001382/0.8223, allocations: 97.59 kB / 0.9602 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.314e-05/0.8224, allocations: 30.56 kB / 0.9602 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.8224, allocations: 5.375 kB / 0.9602 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004279/0.8228, allocations: 210.2 kB / 0.9604 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.03e-05/0.8228, allocations: 52.5 kB / 0.9604 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.8231, allocations: 314.8 kB / 0.9607 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.8231, allocations: 29.64 kB / 0.9608 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.07e-05/0.8232, allocations: 124.2 kB / 0.9609 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.8232, allocations: 22.69 kB / 0.9609 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.673e-06/0.8232, allocations: 0.7812 kB / 0.9609 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.173e-05/0.8233, allocations: 332.6 kB / 0.9612 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.8235, allocations: 166.2 kB / 0.9614 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/0.8237, allocations: 163.5 kB / 0.9615 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.8239, allocations: 162.4 kB / 0.9617 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.8239, allocations: 0 / 0.9617 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004997/0.8244, allocations: 401 kB / 0.9621 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.8244, allocations: 6.531 kB / 0.9621 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.8244, allocations: 5.359 kB / 0.9621 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.8244, allocations: 1.375 kB / 0.9621 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.8246, allocations: 12.47 kB / 0.9621 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.8246, allocations: 0 / 0.9621 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.8247, allocations: 45.83 kB / 0.9621 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.8247, allocations: 6.328 kB / 0.9621 GB, free: 2.012 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 8.268e-05/0.8248, allocations: 130 kB / 0.9623 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.8249, allocations: 19.28 kB / 0.9623 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003241/0.8252, allocations: 168.8 kB / 0.9625 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.8252, allocations: 0 / 0.9625 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.8252, allocations: 1.031 kB / 0.9625 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.8252, allocations: 3.984 kB / 0.9625 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.8254, allocations: 238 kB / 0.9627 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.8254, allocations: 5.203 kB / 0.9627 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.373e-05/0.8255, allocations: 12.44 kB / 0.9627 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/0.8255, allocations: 7.938 kB / 0.9627 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.8255, allocations: 1.438 kB / 0.9627 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.8255, allocations: 0 / 0.9627 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.8255, allocations: 1.344 kB / 0.9627 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.8258, allocations: 193.8 kB / 0.9629 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.552e-05/0.8259, allocations: 100.2 kB / 0.963 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/0.8259, allocations: 5.75 kB / 0.963 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.902e-05/0.826, allocations: 8.422 kB / 0.963 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.826, allocations: 2.125 kB / 0.963 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.826, allocations: 6.219 kB / 0.963 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001518/0.8262, allocations: 203.4 kB / 0.9632 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8262, allocations: 0 / 0.9632 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004015/0.8266, allocations: 117.4 kB / 0.9633 GB, free: 1.133 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.00027/0.8269, allocations: 181 kB / 0.9635 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004702/0.8274, allocations: 358.6 kB / 0.9638 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8274, allocations: 7.938 kB / 0.9638 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.8275, allocations: 59.94 kB / 0.9639 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.8278, allocations: 42.67 kB / 0.9639 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006039/0.8284, allocations: 442.9 kB / 0.9644 GB, free: 492 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.8287, allocations: 0.7319 MB / 0.9651 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001008/0.8288, allocations: 22.95 kB / 0.9651 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.659e-05/0.8288, allocations: 14.47 kB / 0.9651 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.8289, allocations: 1.281 kB / 0.9651 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of Templates: time 0.006994/0.8359, allocations: 2.895 MB / 0.9679 GB, free: 14.29 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & ./Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches