Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006852/0.0006852, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007878/0.0007878, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8901/0.8901, allocations: 177.1 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.692/1.692, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.9517 GB, free: 2.98 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.505e-05, allocations: 4.953 kB / 0.9517 GB, free: 2.977 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001336/0.001361, allocations: 0.7908 MB / 0.9525 GB, free: 2.18 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001027/0.001463, allocations: 39.78 kB / 0.9525 GB, free: 2.141 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.384e-05/0.001507, allocations: 0 / 0.9525 GB, free: 2.141 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.491e-05/0.001542, allocations: 15.8 kB / 0.9526 GB, free: 2.125 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.68e-05/0.001609, allocations: 11.94 kB / 0.9526 GB, free: 2.113 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 3.848e-05/0.001647, allocations: 19.98 kB / 0.9526 GB, free: 2.094 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.124e-05/0.001739, allocations: 67.75 kB / 0.9527 GB, free: 2.027 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.001856, allocations: 31.92 kB / 0.9527 GB, free: 1.996 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.526e-05/0.001922, allocations: 43.83 kB / 0.9527 GB, free: 1.953 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.835e-05/0.00197, allocations: 11.92 kB / 0.9527 GB, free: 1.941 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.001993, allocations: 8 kB / 0.9527 GB, free: 1.934 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.262e-06/0.001999, allocations: 4 kB / 0.9528 GB, free: 1.93 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.82e-05/0.002017, allocations: 19.92 kB / 0.9528 GB, free: 1.91 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.533e-05/0.002043, allocations: 19.92 kB / 0.9528 GB, free: 1.891 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.446e-05/0.002137, allocations: 75.75 kB / 0.9529 GB, free: 1.816 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.714e-06/0.002139, allocations: 0 / 0.9529 GB, free: 1.816 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.102e-06/0.00214, allocations: 4 kB / 0.9529 GB, free: 1.812 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.002144, allocations: 3.938 kB / 0.9529 GB, free: 1.809 MB / 0.9011 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.0003314/0.002475, allocations: 298 kB / 0.9532 GB, free: 1.484 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.00251, allocations: 16.02 kB / 0.9532 GB, free: 1.469 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.906e-05/0.002539, allocations: 12.84 kB / 0.9532 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.002689, allocations: 141.5 kB / 0.9533 GB, free: 1.293 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.002699, allocations: 4.375 kB / 0.9533 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.00271, allocations: 8.375 kB / 0.9533 GB, free: 1.281 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.002822, allocations: 91.95 kB / 0.9534 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.00283, allocations: 192 / 0.9534 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.002839, allocations: 384 / 0.9534 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.002844, allocations: 4.375 kB / 0.9534 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.788e-05/0.002902, allocations: 43.86 kB / 0.9535 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003439/0.003246, allocations: 352.4 kB / 0.9538 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.838e-05/0.003294, allocations: 41.28 kB / 0.9538 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.882e-05/0.003323, allocations: 25.83 kB / 0.9539 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.464e-06/0.003331, allocations: 4 kB / 0.9539 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.003352, allocations: 30.56 kB / 0.9539 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.003353, allocations: 0 / 0.9539 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001281/0.003481, allocations: 45.64 kB / 0.9539 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.003518, allocations: 85.05 kB / 0.954 GB, free: 480 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.102e-05/0.003599, allocations: 138.8 kB / 0.9542 GB, free: 332 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.003608, allocations: 25.7 kB / 0.9542 GB, free: 300 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.747e-05/0.003656, allocations: 104 kB / 0.9543 GB, free: 192 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.252e-06/0.003662, allocations: 3.953 kB / 0.9543 GB, free: 188 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-05/0.003687, allocations: 21.67 kB / 0.9543 GB, free: 160 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.01e-05/0.003767, allocations: 327.1 kB / 0.9546 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.198e-05/0.003779, allocations: 0 / 0.9546 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.089e-05/0.0038, allocations: 21.72 kB / 0.9546 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.155e-05/0.003832, allocations: 25.7 kB / 0.9547 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.003834, allocations: 4 kB / 0.9547 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.519e-05/0.00389, allocations: 53.64 kB / 0.9547 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.003904, allocations: 8 kB / 0.9547 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.003908, allocations: 0 / 0.9547 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.003919, allocations: 4.062 kB / 0.9547 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.125e-05/0.00397, allocations: 7.984 kB / 0.9547 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.003976, allocations: 7.938 kB / 0.9547 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.438e-05/0.003991, allocations: 3.938 kB / 0.9547 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-06/0.003994, allocations: 3.938 kB / 0.9547 GB, free: 15.67 MB / 0.9167 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 5.904e-05/0.004053, allocations: 117.8 kB / 0.9549 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.004073, allocations: 7.953 kB / 0.9549 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.801e-05/0.004091, allocations: 7.406 kB / 0.9549 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.004094, allocations: 4 kB / 0.9549 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.004097, allocations: 96 / 0.9549 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.004102, allocations: 11.92 kB / 0.9549 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.004336, allocations: 410.5 kB / 0.9553 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.004337, allocations: 0 / 0.9553 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.016e-05/0.004347, allocations: 4 kB / 0.9553 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.004349, allocations: 3.984 kB / 0.9553 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.004357, allocations: 7.938 kB / 0.9553 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.004357, allocations: 0 / 0.9553 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.004359, allocations: 4 kB / 0.9553 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.819e-05/0.004407, allocations: 69.95 kB / 0.9554 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.492e-05/0.004422, allocations: 8.031 kB / 0.9554 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.004432, allocations: 11.94 kB / 0.9554 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.146e-06/0.00444, allocations: 3.938 kB / 0.9554 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.048e-05/0.004451, allocations: 0 / 0.9554 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-06/0.004452, allocations: 0 / 0.9554 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.924e-05/0.004491, allocations: 106.9 kB / 0.9555 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.004492, allocations: 0 / 0.9555 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001205/0.004612, allocations: 8 kB / 0.9555 GB, free: 14.82 MB / 0.9167 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 7.184e-05/0.004684, allocations: 91.25 kB / 0.9556 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 6.465e-05/0.004749, allocations: 23.98 kB / 0.9556 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.00475, allocations: 0 / 0.9556 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.161e-06/0.004756, allocations: 7.938 kB / 0.9556 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001077/0.004864, allocations: 12.41 kB / 0.9556 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002438/0.005107, allocations: 192.2 kB / 0.9558 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.335e-05/0.005151, allocations: 75.33 kB / 0.9559 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.068e-05/0.005172, allocations: 8.75 kB / 0.9559 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of SimCode: time 3.81e-07/0.005172, allocations: 4 kB / 0.9559 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of Templates: time 0.001421/0.006593, allocations: 0.8058 MB / 0.9567 GB, free: 13.55 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.374903098680079]