Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002082/0.002082, allocations: 197.6 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.617/2.617, allocations: 443.5 MB / 0.732 GB, free: 12.51 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002942/0.002942, allocations: 67.89 kB / 1.061 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9268/0.9297, allocations: 160.7 MB / 1.218 GB, free: 4.117 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002215/0.9319, allocations: 0.8372 MB / 1.219 GB, free: 3.48 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001211/0.9321, allocations: 45.88 kB / 1.219 GB, free: 3.441 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.304e-05/0.9321, allocations: 1.188 kB / 1.219 GB, free: 3.441 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.896e-05/0.9322, allocations: 11.81 kB / 1.219 GB, free: 3.43 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.798e-05/0.9322, allocations: 9.125 kB / 1.219 GB, free: 3.422 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.228e-05/0.9323, allocations: 23.72 kB / 1.219 GB, free: 3.402 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.9324, allocations: 59.28 kB / 1.219 GB, free: 3.367 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.9325, allocations: 33.84 kB / 1.219 GB, free: 3.344 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.565e-05/0.9326, allocations: 31.88 kB / 1.219 GB, free: 3.32 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.948e-05/0.9327, allocations: 28.42 kB / 1.219 GB, free: 3.297 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.9327, allocations: 10.53 kB / 1.219 GB, free: 3.293 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.427e-05/0.9327, allocations: 6.312 kB / 1.219 GB, free: 3.293 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.468e-05/0.9327, allocations: 13.86 kB / 1.219 GB, free: 3.281 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.682e-05/0.9328, allocations: 35.28 kB / 1.219 GB, free: 3.254 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.9329, allocations: 84.3 kB / 1.219 GB, free: 3.188 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.9329, allocations: 0 / 1.219 GB, free: 3.188 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9329, allocations: 0 / 1.219 GB, free: 3.188 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.9329, allocations: 0 / 1.219 GB, free: 3.188 MB / 0.92 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.0004808/0.9334, allocations: 378.9 kB / 1.22 GB, free: 2.789 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.9334, allocations: 13.83 kB / 1.22 GB, free: 2.785 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/0.9335, allocations: 14.66 kB / 1.22 GB, free: 2.777 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.9337, allocations: 189.4 kB / 1.22 GB, free: 2.562 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.9337, allocations: 7.531 kB / 1.22 GB, free: 2.559 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.9337, allocations: 5.562 kB / 1.22 GB, free: 2.559 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.9339, allocations: 96.23 kB / 1.22 GB, free: 2.48 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.9339, allocations: 192 / 1.22 GB, free: 2.48 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.9339, allocations: 9.094 kB / 1.22 GB, free: 2.473 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.9339, allocations: 1.938 kB / 1.22 GB, free: 2.473 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.005e-05/0.934, allocations: 43.64 kB / 1.22 GB, free: 2.449 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005763/0.9346, allocations: 432.7 kB / 1.221 GB, free: 2.016 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.116e-05/0.9347, allocations: 41.12 kB / 1.221 GB, free: 1.961 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.211e-05/0.9347, allocations: 27.78 kB / 1.221 GB, free: 1.934 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.843e-06/0.9347, allocations: 0 / 1.221 GB, free: 1.934 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.9347, allocations: 31.72 kB / 1.221 GB, free: 1.895 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.9347, allocations: 0 / 1.221 GB, free: 1.895 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001751/0.9349, allocations: 59.48 kB / 1.221 GB, free: 1.844 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.935, allocations: 78.86 kB / 1.221 GB, free: 1.75 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.9351, allocations: 160.8 kB / 1.221 GB, free: 1.617 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.9351, allocations: 26.86 kB / 1.221 GB, free: 1.586 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.534e-05/0.9352, allocations: 107.8 kB / 1.221 GB, free: 1.48 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.033e-05/0.9352, allocations: 9.109 kB / 1.221 GB, free: 1.473 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.9353, allocations: 13.06 kB / 1.221 GB, free: 1.457 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.9354, allocations: 325.3 kB / 1.221 GB, free: 1.133 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.952e-05/0.9354, allocations: 7.719 kB / 1.221 GB, free: 1.129 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.708e-05/0.9355, allocations: 18.41 kB / 1.221 GB, free: 1.109 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.52e-05/0.9355, allocations: 34.25 kB / 1.221 GB, free: 1.078 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.9355, allocations: 0 / 1.221 GB, free: 1.078 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.952e-05/0.9356, allocations: 64.09 kB / 1.222 GB, free: 1.027 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.9356, allocations: 4.938 kB / 1.222 GB, free: 1.027 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.9356, allocations: 3.938 kB / 1.222 GB, free: 1.023 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.9356, allocations: 1.281 kB / 1.222 GB, free: 1.023 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.097e-05/0.9357, allocations: 9.25 kB / 1.222 GB, free: 1.02 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.9357, allocations: 1.219 kB / 1.222 GB, free: 1.02 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.441e-05/0.9357, allocations: 10.7 kB / 1.222 GB, free: 1.012 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.9357, allocations: 1.094 kB / 1.222 GB, free: 1.012 MB / 0.92 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 8.458e-05/0.9358, allocations: 114.4 kB / 1.222 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.757e-05/0.9359, allocations: 7.484 kB / 1.222 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.496e-05/0.9359, allocations: 14.47 kB / 1.222 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.9359, allocations: 5.422 kB / 1.222 GB, free: 0.875 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.9359, allocations: 0 / 1.222 GB, free: 0.875 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.9359, allocations: 5.5 kB / 1.222 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004239/0.9363, allocations: 478.2 kB / 1.222 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.9363, allocations: 0 / 1.222 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.956e-05/0.9363, allocations: 3.656 kB / 1.222 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.9363, allocations: 1.156 kB / 1.222 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.9363, allocations: 0 / 1.222 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.9364, allocations: 1.031 kB / 1.222 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.9364, allocations: 1.031 kB / 1.222 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.653e-05/0.9365, allocations: 86.34 kB / 1.222 GB, free: 276 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.201e-05/0.9365, allocations: 88.06 kB / 1.222 GB, free: 172 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.9365, allocations: 1.094 kB / 1.222 GB, free: 172 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.374e-05/0.9366, allocations: 4.938 kB / 1.222 GB, free: 168 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.309e-05/0.9366, allocations: 1.062 kB / 1.222 GB, free: 168 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.9366, allocations: 5.094 kB / 1.222 GB, free: 164 kB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000101/0.9367, allocations: 121.6 kB / 1.222 GB, free: 68 kB / 0.92 GB Notification: Performance of sort global known variables: time 9e-08/0.9367, allocations: 0 / 1.222 GB, free: 68 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001873/0.9369, allocations: 7.156 kB / 1.222 GB, free: 68 kB / 0.92 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.0001562/0.937, allocations: 100.3 kB / 1.223 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.616e-05/0.9371, allocations: 18.84 kB / 1.223 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.9371, allocations: 0 / 1.223 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.447e-05/0.9371, allocations: 12.16 kB / 1.223 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001642/0.9373, allocations: 18.94 kB / 1.223 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003497/0.9376, allocations: 173.3 kB / 1.223 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.938, allocations: 0.6951 MB / 1.223 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.297e-05/0.938, allocations: 12.11 kB / 1.223 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.665e-05/0.938, allocations: 12.09 kB / 1.223 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.938, allocations: 0 / 1.223 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of Templates: time 0.002947/0.941, allocations: 472.7 kB / 1.224 GB, free: 14.82 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.8809301010333]