Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.0008498/0.0008498, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008852/0.0008852, allocations: 165.9 kB / 22.45 MB, free: 2.105 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.8866/0.8866, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.775/1.775, allocations: 389 MB / 0.633 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_quad,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.912e-05/2.091e-05, allocations: 5.234 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001503/0.001524, allocations: 0.7907 MB / 1 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 9.763e-05/0.001621, allocations: 39.78 kB / 1 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.449e-05/0.001666, allocations: 3.938 kB / 1 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.291e-05/0.001699, allocations: 7.875 kB / 1 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.725e-05/0.001766, allocations: 11.88 kB / 1.001 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 3.836e-05/0.001804, allocations: 27.95 kB / 1.001 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.881e-05/0.001893, allocations: 55.84 kB / 1.001 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.002003, allocations: 23.98 kB / 1.001 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.566e-05/0.002069, allocations: 47.89 kB / 1.001 GB, free: 12.49 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.646e-05/0.002115, allocations: 11.92 kB / 1.001 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.002138, allocations: 8 kB / 1.001 GB, free: 12.47 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.372e-06/0.002144, allocations: 4 kB / 1.001 GB, free: 12.47 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.044e-05/0.002164, allocations: 23.91 kB / 1.001 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.367e-05/0.002188, allocations: 15.92 kB / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.688e-05/0.002285, allocations: 79.58 kB / 1.001 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.002287, allocations: 0 / 1.001 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.172e-06/0.002288, allocations: 0 / 1.001 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.002292, allocations: 0 / 1.001 GB, free: 12.35 MB / 0.9636 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.0003468/0.002639, allocations: 314 kB / 1.001 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.002678, allocations: 8.75 kB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.114e-05/0.00271, allocations: 38.75 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.255e-05/0.002732, allocations: 8.891 kB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.002876, allocations: 129.7 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.002888, allocations: 8.375 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.002897, allocations: 4.375 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.003019, allocations: 99.78 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.003026, allocations: 4.188 kB / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.003035, allocations: 384 / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.003041, allocations: 4.125 kB / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.176e-05/0.003102, allocations: 43.92 kB / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/0.003503, allocations: 391.8 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.959e-05/0.003553, allocations: 41.25 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.844e-05/0.003581, allocations: 17.78 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.734e-06/0.003589, allocations: 4 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.003607, allocations: 30.56 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.003608, allocations: 0 / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001441/0.003752, allocations: 57.77 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.003789, allocations: 85.05 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.003894, allocations: 160.1 kB / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.003902, allocations: 25.7 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.857e-05/0.003951, allocations: 100 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.496e-06/0.003959, allocations: 19.81 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-05/0.003985, allocations: 17.66 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.671e-05/0.004062, allocations: 318.8 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.484e-05/0.004076, allocations: 11.98 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.664e-05/0.004093, allocations: 17.72 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.288e-05/0.004136, allocations: 33.72 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.004138, allocations: 0 / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.961e-05/0.004197, allocations: 61.58 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.00421, allocations: 4 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.004215, allocations: 0 / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.004227, allocations: 0 / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.612e-05/0.004283, allocations: 11.94 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.004288, allocations: 0 / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.531e-05/0.004313, allocations: 11.95 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-06/0.004317, allocations: 4.062 kB / 1.003 GB, free: 10.07 MB / 0.9636 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.327e-05/0.00437, allocations: 117.8 kB / 1.003 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.004393, allocations: 7.953 kB / 1.003 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.829e-05/0.004412, allocations: 7.812 kB / 1.003 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.004414, allocations: 0 / 1.003 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.004419, allocations: 3.938 kB / 1.003 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.004422, allocations: 0 / 1.003 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.004689, allocations: 433.9 kB / 1.003 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.004691, allocations: 4 kB / 1.003 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.202e-05/0.004703, allocations: 8 kB / 1.003 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.004707, allocations: 7.984 kB / 1.003 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-06/0.004712, allocations: 0 / 1.003 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.004713, allocations: 0 / 1.003 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.004715, allocations: 3.984 kB / 1.003 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.267e-05/0.004767, allocations: 82.75 kB / 1.003 GB, free: 9.324 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.192e-05/0.004789, allocations: 15.83 kB / 1.003 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.0048, allocations: 4 kB / 1.003 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.768e-06/0.00481, allocations: 0 / 1.003 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.839e-06/0.00482, allocations: 0 / 1.003 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-06/0.004823, allocations: 8 kB / 1.003 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.534e-05/0.004879, allocations: 125.5 kB / 1.004 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.004879, allocations: 0 / 1.004 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001254/0.005004, allocations: 7.938 kB / 1.004 GB, free: 9.168 MB / 0.9636 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.0002643/0.005269, allocations: 0.617 MB / 1.004 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.002e-05/0.005339, allocations: 16 kB / 1.004 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.00534, allocations: 0 / 1.004 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.105e-06/0.005348, allocations: 16.14 kB / 1.004 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001201/0.005468, allocations: 20.41 kB / 1.004 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000821/0.006289, allocations: 1.34 MB / 1.006 GB, free: 7.031 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.354e-05/0.006333, allocations: 75.33 kB / 1.006 GB, free: 6.938 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.08e-05/0.006363, allocations: 12.47 kB / 1.006 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.201e-05/0.006405, allocations: 28.5 kB / 1.006 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of SimCode: time 4.71e-07/0.006406, allocations: 0 / 1.006 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01434/0.02075, allocations: 2.23 MB / 1.008 GB, free: 4.789 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.436/6.457, allocations: 5.281 kB / 1.008 GB, free: 4.789 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_quad_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_quad.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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: 10.539492763578892]