Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.00192/0.00192, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.002456/0.002456, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.538/1.538, allocations: 230.6 MB / 253.5 MB, free: 15.12 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 2.999/2.999, allocations: 0.49 GB / 0.7923 GB, free: 1.332 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.To_quad,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",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.002078/0.002078, allocations: 71.91 kB / 1.15 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9529/0.955, allocations: 176.1 MB / 1.321 GB, free: 24.79 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001706/0.9567, allocations: 0.8334 MB / 1.322 GB, free: 24.25 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001116/0.9568, allocations: 44.2 kB / 1.322 GB, free: 24.21 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.072e-05/0.9568, allocations: 2.844 kB / 1.322 GB, free: 24.21 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.637e-05/0.9569, allocations: 7.875 kB / 1.322 GB, free: 24.21 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.987e-05/0.957, allocations: 15.2 kB / 1.322 GB, free: 24.2 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.871e-05/0.957, allocations: 16.28 kB / 1.322 GB, free: 24.19 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.04e-05/0.9571, allocations: 63.05 kB / 1.322 GB, free: 24.16 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.9572, allocations: 25.88 kB / 1.322 GB, free: 24.14 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.669e-05/0.9573, allocations: 29.55 kB / 1.322 GB, free: 24.13 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.142e-05/0.9573, allocations: 31.16 kB / 1.323 GB, free: 24.11 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.9573, allocations: 4.938 kB / 1.323 GB, free: 24.11 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.25e-05/0.9573, allocations: 9.156 kB / 1.323 GB, free: 24.11 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.9573, allocations: 25.7 kB / 1.323 GB, free: 24.09 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.658e-05/0.9574, allocations: 27.81 kB / 1.323 GB, free: 24.07 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.9575, allocations: 73.78 kB / 1.323 GB, free: 24.04 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.9575, allocations: 0 / 1.323 GB, free: 24.04 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.472e-06/0.9575, allocations: 0 / 1.323 GB, free: 24.04 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.959e-06/0.9575, allocations: 0 / 1.323 GB, free: 24.04 MB / 1.061 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.0003389/0.9578, allocations: 381.9 kB / 1.323 GB, free: 23.64 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.9579, allocations: 13.98 kB / 1.323 GB, free: 23.64 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.289e-05/0.9579, allocations: 4.188 kB / 1.323 GB, free: 23.64 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.315e-05/0.9579, allocations: 40.72 kB / 1.323 GB, free: 23.59 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.474e-05/0.9579, allocations: 10.33 kB / 1.323 GB, free: 23.59 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.9581, allocations: 206.2 kB / 1.323 GB, free: 23.37 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.9581, allocations: 7.125 kB / 1.323 GB, free: 23.36 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.9581, allocations: 10 kB / 1.323 GB, free: 23.36 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.9583, allocations: 104.6 kB / 1.323 GB, free: 23.28 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.9583, allocations: 4 kB / 1.323 GB, free: 23.28 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.9583, allocations: 4 kB / 1.323 GB, free: 23.27 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.9583, allocations: 2.812 kB / 1.323 GB, free: 23.27 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.396e-05/0.9583, allocations: 35.72 kB / 1.323 GB, free: 23.26 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000397/0.9587, allocations: 433.6 kB / 1.324 GB, free: 22.86 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.932e-05/0.9588, allocations: 39.69 kB / 1.324 GB, free: 22.8 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.234e-05/0.9588, allocations: 19.34 kB / 1.324 GB, free: 22.79 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.9588, allocations: 2.844 kB / 1.324 GB, free: 22.79 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.344e-05/0.9589, allocations: 41.91 kB / 1.324 GB, free: 22.74 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.9589, allocations: 0 / 1.324 GB, free: 22.74 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001564/0.959, allocations: 58.8 kB / 1.324 GB, free: 22.69 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.959, allocations: 81.11 kB / 1.324 GB, free: 22.59 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.9592, allocations: 163.1 kB / 1.324 GB, free: 22.47 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.685e-06/0.9592, allocations: 25.7 kB / 1.324 GB, free: 22.44 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.498e-05/0.9592, allocations: 105.2 kB / 1.324 GB, free: 22.34 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.532e-06/0.9592, allocations: 3.953 kB / 1.324 GB, free: 22.34 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/0.9592, allocations: 16.75 kB / 1.324 GB, free: 22.32 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.691e-05/0.9593, allocations: 316.6 kB / 1.325 GB, free: 22.01 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.842e-05/0.9593, allocations: 17.03 kB / 1.325 GB, free: 22 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.7e-05/0.9593, allocations: 19.66 kB / 1.325 GB, free: 21.98 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.25e-05/0.9594, allocations: 28.06 kB / 1.325 GB, free: 21.95 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.9594, allocations: 0 / 1.325 GB, free: 21.95 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.534e-05/0.9594, allocations: 57.89 kB / 1.325 GB, free: 21.91 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.9594, allocations: 9.844 kB / 1.325 GB, free: 21.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.9595, allocations: 4.062 kB / 1.325 GB, free: 21.9 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.9595, allocations: 0 / 1.325 GB, free: 21.9 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.929e-05/0.9595, allocations: 11.94 kB / 1.325 GB, free: 21.9 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.9595, allocations: 0 / 1.325 GB, free: 21.9 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.872e-05/0.9596, allocations: 10.39 kB / 1.325 GB, free: 21.89 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-06/0.9596, allocations: 0 / 1.325 GB, free: 21.89 MB / 1.061 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 4.394e-05/0.9596, allocations: 119.2 kB / 1.325 GB, free: 21.77 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/0.9596, allocations: 10.77 kB / 1.325 GB, free: 21.77 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.036e-05/0.9597, allocations: 6.656 kB / 1.325 GB, free: 21.76 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.9597, allocations: 4 kB / 1.325 GB, free: 21.75 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.9597, allocations: 4.031 kB / 1.325 GB, free: 21.75 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.9597, allocations: 6.734 kB / 1.325 GB, free: 21.75 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.9599, allocations: 469.4 kB / 1.325 GB, free: 21.26 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.9599, allocations: 6.75 kB / 1.325 GB, free: 21.26 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.748e-05/0.9599, allocations: 6.047 kB / 1.325 GB, free: 21.26 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.9599, allocations: 0 / 1.325 GB, free: 21.26 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.96, allocations: 4.062 kB / 1.325 GB, free: 21.25 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.96, allocations: 2.75 kB / 1.325 GB, free: 21.25 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.96, allocations: 0 / 1.325 GB, free: 21.25 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.69e-05/0.96, allocations: 88.73 kB / 1.326 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.818e-05/0.96, allocations: 83.81 kB / 1.326 GB, free: 21.06 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.9601, allocations: 2.969 kB / 1.326 GB, free: 21.06 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.019e-05/0.9601, allocations: 4.031 kB / 1.326 GB, free: 21.06 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.662e-05/0.9601, allocations: 3.281 kB / 1.326 GB, free: 21.06 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.9601, allocations: 2.75 kB / 1.326 GB, free: 21.06 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.918e-05/0.9602, allocations: 119.7 kB / 1.326 GB, free: 20.97 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9602, allocations: 0 / 1.326 GB, free: 20.97 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001836/0.9603, allocations: 9.406 kB / 1.326 GB, free: 20.97 MB / 1.061 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.0002308/0.9606, allocations: 0.6167 MB / 1.326 GB, free: 20.36 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.192e-05/0.9607, allocations: 17.7 kB / 1.326 GB, free: 20.35 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.9607, allocations: 0 / 1.326 GB, free: 20.35 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.648e-06/0.9607, allocations: 10.5 kB / 1.326 GB, free: 20.34 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/0.9608, allocations: 6.594 kB / 1.326 GB, free: 20.34 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008307/0.9616, allocations: 1.332 MB / 1.328 GB, free: 19.12 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.9617, allocations: 0.694 MB / 1.328 GB, free: 18.42 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.742e-05/0.9618, allocations: 6.484 kB / 1.328 GB, free: 18.42 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.945e-05/0.9618, allocations: 25.06 kB / 1.328 GB, free: 18.4 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.9618, allocations: 4 kB / 1.328 GB, free: 18.4 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01689/0.9787, allocations: 1.627 MB / 1.33 GB, free: 18 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.798/9.776, allocations: 7.109 kB / 1.33 GB, free: 18 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_quad_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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: 16.506667431036476]