Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.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.002256/0.002256, allocations: 116.5 kB / 17.16 MB, free: 5.914 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.002696/0.002696, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.556/1.556, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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 3.044/3.044, allocations: 0.5003 GB / 0.8026 GB, free: 6.68 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.To_cfm,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",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.002199/0.002199, allocations: 71.89 kB / 1.165 GB, free: 452 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.184/1.187, allocations: 178.9 MB / 1.34 GB, free: 16.24 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002281/1.189, allocations: 0.8345 MB / 1.341 GB, free: 15.69 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001055/1.189, allocations: 40.55 kB / 1.341 GB, free: 15.66 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.27e-05/1.189, allocations: 1.812 kB / 1.341 GB, free: 15.66 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.516e-05/1.189, allocations: 6.094 kB / 1.341 GB, free: 15.65 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.47e-05/1.189, allocations: 13.73 kB / 1.341 GB, free: 15.64 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.811e-05/1.189, allocations: 20.34 kB / 1.341 GB, free: 15.63 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000115/1.189, allocations: 64.14 kB / 1.341 GB, free: 15.6 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/1.189, allocations: 31.17 kB / 1.341 GB, free: 15.58 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.126e-05/1.19, allocations: 32.11 kB / 1.341 GB, free: 15.56 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.668e-05/1.19, allocations: 30.25 kB / 1.341 GB, free: 15.54 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/1.19, allocations: 5.75 kB / 1.341 GB, free: 15.54 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.142e-05/1.19, allocations: 7.281 kB / 1.341 GB, free: 15.54 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.899e-05/1.19, allocations: 11.75 kB / 1.341 GB, free: 15.54 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.391e-05/1.19, allocations: 36.47 kB / 1.341 GB, free: 15.51 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001217/1.19, allocations: 76.44 kB / 1.341 GB, free: 15.47 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/1.19, allocations: 1.062 kB / 1.341 GB, free: 15.47 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.613e-06/1.19, allocations: 0 / 1.341 GB, free: 15.47 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.14e-05/1.19, allocations: 0 / 1.341 GB, free: 15.47 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.0003952/1.19, allocations: 389.6 kB / 1.342 GB, free: 15.07 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/1.19, allocations: 8.594 kB / 1.342 GB, free: 15.07 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.702e-05/1.19, allocations: 2.25 kB / 1.342 GB, free: 15.07 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.575e-05/1.19, allocations: 39.62 kB / 1.342 GB, free: 15.03 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.984e-05/1.19, allocations: 9.484 kB / 1.342 GB, free: 15.03 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/1.19, allocations: 200.4 kB / 1.342 GB, free: 14.81 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/1.191, allocations: 12.42 kB / 1.342 GB, free: 14.8 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/1.191, allocations: 4.875 kB / 1.342 GB, free: 14.8 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/1.191, allocations: 102.5 kB / 1.342 GB, free: 14.72 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/1.191, allocations: 0 / 1.342 GB, free: 14.72 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/1.191, allocations: 1.828 kB / 1.342 GB, free: 14.72 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/1.191, allocations: 2.406 kB / 1.342 GB, free: 14.72 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.457e-05/1.191, allocations: 39.19 kB / 1.342 GB, free: 14.71 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004845/1.191, allocations: 439.1 kB / 1.343 GB, free: 14.3 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.457e-05/1.191, allocations: 45.22 kB / 1.343 GB, free: 14.24 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.663e-05/1.191, allocations: 19.97 kB / 1.343 GB, free: 14.22 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.948e-06/1.191, allocations: 1.156 kB / 1.343 GB, free: 14.22 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/1.191, allocations: 40.16 kB / 1.343 GB, free: 14.18 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/1.191, allocations: 4 kB / 1.343 GB, free: 14.17 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001854/1.192, allocations: 53.03 kB / 1.343 GB, free: 14.13 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/1.192, allocations: 78.55 kB / 1.343 GB, free: 14.04 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/1.192, allocations: 160.8 kB / 1.343 GB, free: 13.91 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.422e-06/1.192, allocations: 25.7 kB / 1.343 GB, free: 13.88 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.951e-05/1.192, allocations: 99.84 kB / 1.343 GB, free: 13.79 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.022e-05/1.192, allocations: 10.55 kB / 1.343 GB, free: 13.78 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/1.192, allocations: 22.34 kB / 1.343 GB, free: 13.76 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.128e-05/1.192, allocations: 319.5 kB / 1.343 GB, free: 13.44 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.846e-05/1.192, allocations: 4.172 kB / 1.343 GB, free: 13.44 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.309e-05/1.192, allocations: 19.58 kB / 1.343 GB, free: 13.42 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.598e-05/1.192, allocations: 27.12 kB / 1.343 GB, free: 13.4 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.192, allocations: 1.453 kB / 1.343 GB, free: 13.4 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.827e-05/1.192, allocations: 60.62 kB / 1.343 GB, free: 13.35 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/1.192, allocations: 11.5 kB / 1.343 GB, free: 13.35 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/1.192, allocations: 1.062 kB / 1.343 GB, free: 13.35 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/1.192, allocations: 1.062 kB / 1.343 GB, free: 13.35 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.907e-05/1.192, allocations: 6.078 kB / 1.343 GB, free: 13.35 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/1.192, allocations: 1.656 kB / 1.343 GB, free: 13.35 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.275e-05/1.192, allocations: 9.422 kB / 1.343 GB, free: 13.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/1.192, allocations: 1.938 kB / 1.343 GB, free: 13.34 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 5.239e-05/1.192, allocations: 119.7 kB / 1.344 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.574e-05/1.192, allocations: 13.78 kB / 1.344 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.478e-05/1.192, allocations: 16.25 kB / 1.344 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/1.192, allocations: 0 / 1.344 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.192, allocations: 1.688 kB / 1.344 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/1.192, allocations: 0.7969 kB / 1.344 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000298/1.193, allocations: 474 kB / 1.344 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/1.193, allocations: 4.859 kB / 1.344 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.117e-05/1.193, allocations: 7.875 kB / 1.344 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/1.193, allocations: 0 / 1.344 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/1.193, allocations: 2.016 kB / 1.344 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/1.193, allocations: 1.062 kB / 1.344 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.193, allocations: 1.156 kB / 1.344 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.722e-05/1.193, allocations: 80.41 kB / 1.344 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.454e-05/1.193, allocations: 94.48 kB / 1.344 GB, free: 12.51 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/1.193, allocations: 1.188 kB / 1.344 GB, free: 12.51 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.147e-05/1.193, allocations: 1.094 kB / 1.344 GB, free: 12.51 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.357e-05/1.193, allocations: 6.5 kB / 1.344 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-06/1.193, allocations: 1.562 kB / 1.344 GB, free: 12.5 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.632e-05/1.193, allocations: 119.7 kB / 1.344 GB, free: 12.42 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.193, allocations: 1.438 kB / 1.344 GB, free: 12.42 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001891/1.193, allocations: 6.219 kB / 1.344 GB, free: 12.42 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.0002505/1.193, allocations: 0.6191 MB / 1.345 GB, free: 11.8 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001031/1.193, allocations: 18.48 kB / 1.345 GB, free: 11.79 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.193, allocations: 1.781 kB / 1.345 GB, free: 11.79 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.019e-05/1.193, allocations: 8.297 kB / 1.345 GB, free: 11.79 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/1.194, allocations: 6.406 kB / 1.345 GB, free: 11.79 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/1.195, allocations: 1.335 MB / 1.346 GB, free: 10.56 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001388/1.195, allocations: 0.6949 MB / 1.347 GB, free: 9.863 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.505e-05/1.195, allocations: 11.72 kB / 1.347 GB, free: 9.859 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.281e-05/1.195, allocations: 21.19 kB / 1.347 GB, free: 9.844 MB / 1.061 GB Notification: Performance of SimCode: time 6.81e-07/1.195, allocations: 0 / 1.347 GB, free: 9.844 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01923/1.214, allocations: 1.625 MB / 1.349 GB, free: 9.457 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.37/9.584, allocations: 17.3 kB / 1.349 GB, free: 9.445 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.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.565884239971638]