Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001855/0.001855, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 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.001637/0.001637, allocations: 217.3 kB / 23.03 MB, free: 4.922 MB / 14.72 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 1.536/1.536, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.226/3.226, allocations: 0.49 GB / 0.7959 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 65.45 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3367, allocations: 176.1 MB / 1.327 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.00201/0.3387, allocations: 0.8 MB / 1.327 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001152/0.3388, allocations: 39.8 kB / 1.327 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.643e-05/0.3388, allocations: 0 / 1.327 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.085e-05/0.3389, allocations: 15.86 kB / 1.327 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.503e-05/0.3389, allocations: 11.86 kB / 1.327 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.025e-05/0.339, allocations: 19.98 kB / 1.327 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.3391, allocations: 63.78 kB / 1.328 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.3392, allocations: 39.97 kB / 1.328 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.128e-05/0.3393, allocations: 19.88 kB / 1.328 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.981e-05/0.3393, allocations: 31.84 kB / 1.328 GB, free: 472 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.3394, allocations: 4 kB / 1.328 GB, free: 468 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.002e-05/0.3394, allocations: 8 kB / 1.328 GB, free: 460 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.972e-05/0.3394, allocations: 11.94 kB / 1.328 GB, free: 448 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.776e-05/0.3394, allocations: 31.78 kB / 1.328 GB, free: 416 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.3395, allocations: 83.81 kB / 1.328 GB, free: 332 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3396, allocations: 0 / 1.328 GB, free: 332 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3396, allocations: 0 / 1.328 GB, free: 332 kB / 1.014 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.3396, allocations: 0 / 1.328 GB, free: 332 kB / 1.014 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.0004719/0.34, allocations: 306.1 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.3401, allocations: 12.03 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.595e-05/0.3401, allocations: 4.188 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.506e-05/0.3402, allocations: 38.75 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.038e-05/0.3402, allocations: 8.891 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.3404, allocations: 150.1 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.3404, allocations: 12.38 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.3404, allocations: 12.36 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.3406, allocations: 87.7 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.3406, allocations: 3.938 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.3407, allocations: 8 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.3407, allocations: 0 / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.715e-05/0.3408, allocations: 35.92 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006027/0.3414, allocations: 391.8 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.224e-05/0.3414, allocations: 41.34 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.231e-05/0.3415, allocations: 17.78 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.348e-06/0.3415, allocations: 0 / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.3415, allocations: 42.5 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.021e-06/0.3415, allocations: 0 / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001982/0.3417, allocations: 53.58 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.455e-05/0.3418, allocations: 81.11 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.342, allocations: 164.2 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.342, allocations: 25.7 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.934e-05/0.3421, allocations: 104.3 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.056e-05/0.3421, allocations: 7.953 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.3421, allocations: 21.66 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.3423, allocations: 322.8 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.807e-05/0.3423, allocations: 7.938 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.64e-05/0.3423, allocations: 17.72 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.369e-05/0.3424, allocations: 21.72 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3424, allocations: 0 / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.589e-05/0.3425, allocations: 65.58 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.3425, allocations: 13.56 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3425, allocations: 0 / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3425, allocations: 0 / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/0.3426, allocations: 8 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3426, allocations: 0 / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.623e-05/0.3426, allocations: 7.953 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.3426, allocations: 0 / 1.33 GB, free: 14.04 MB / 1.029 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 9.918e-05/0.3427, allocations: 118.4 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.524e-05/0.3428, allocations: 11.89 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.298e-05/0.3428, allocations: 11.81 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3428, allocations: 4 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3428, allocations: 0 / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3428, allocations: 3.938 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004159/0.3432, allocations: 437.8 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.3432, allocations: 7.984 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.961e-05/0.3432, allocations: 3.938 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3433, allocations: 4 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.3433, allocations: 7.938 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3433, allocations: 0 / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3433, allocations: 0 / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.984e-05/0.3434, allocations: 85.95 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.786e-05/0.3434, allocations: 11.89 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.3434, allocations: 4 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.078e-05/0.3434, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.919e-06/0.3434, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.3434, allocations: 4 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.483e-05/0.3435, allocations: 123.2 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3435, allocations: 4 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001866/0.3437, allocations: 4 kB / 1.331 GB, free: 13.12 MB / 1.029 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.0004321/0.3442, allocations: 0.621 MB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.756e-05/0.3443, allocations: 19.92 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3443, allocations: 0 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.886e-06/0.3443, allocations: 4 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001615/0.3444, allocations: 8 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.3458, allocations: 1.331 MB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.673e-05/0.3459, allocations: 87.41 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.589e-05/0.3459, allocations: 8.422 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.313e-05/0.346, allocations: 23.44 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.346, allocations: 0 / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02167/0.3677, allocations: 1.756 MB / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.81, allocations: 8.875 kB / 1.334 GB, free: 9.254 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_bar_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.76089731801767]