Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.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.001349/0.001349, allocations: 105.7 kB / 17.54 MB, free: 4.746 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.001378/0.001378, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.312/1.312, allocations: 225.6 MB / 249.3 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.506/2.506, allocations: 476.7 MB / 0.7628 GB, free: 15.09 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 67.89 kB / 1.107 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8033/0.8052, allocations: 168.7 MB / 1.271 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001824/0.8071, allocations: 0.8383 MB / 1.272 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000106/0.8072, allocations: 44.58 kB / 1.272 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.099e-05/0.8072, allocations: 1.469 kB / 1.272 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.493e-05/0.8073, allocations: 14.67 kB / 1.272 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.334e-05/0.8073, allocations: 9.547 kB / 1.272 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.97e-05/0.8074, allocations: 20.14 kB / 1.272 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.8075, allocations: 59.27 kB / 1.272 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.8076, allocations: 35.72 kB / 1.272 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.894e-05/0.8077, allocations: 26.27 kB / 1.272 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.793e-05/0.8077, allocations: 25.8 kB / 1.272 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.8077, allocations: 6.438 kB / 1.272 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.238e-05/0.8078, allocations: 6.156 kB / 1.272 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.071e-05/0.8078, allocations: 20.47 kB / 1.272 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.371e-05/0.8078, allocations: 32.77 kB / 1.273 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.8079, allocations: 76.69 kB / 1.273 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.8079, allocations: 0.5625 kB / 1.273 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.903e-06/0.8079, allocations: 4.781 kB / 1.273 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.8079, allocations: 0 / 1.273 GB, free: 7.145 MB / 0.9981 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.0003461/0.8083, allocations: 380.7 kB / 1.273 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.8083, allocations: 9.219 kB / 1.273 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.962e-05/0.8084, allocations: 39.19 kB / 1.273 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.742e-05/0.8084, allocations: 14.08 kB / 1.273 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.8085, allocations: 199.9 kB / 1.273 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.8086, allocations: 7.438 kB / 1.273 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.8086, allocations: 6.125 kB / 1.273 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.8087, allocations: 94.19 kB / 1.273 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.8087, allocations: 5 kB / 1.273 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.8087, allocations: 0.5156 kB / 1.273 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.8087, allocations: 3 kB / 1.273 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.429e-05/0.8088, allocations: 35.52 kB / 1.273 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004232/0.8092, allocations: 446 kB / 1.274 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.617e-05/0.8093, allocations: 37.77 kB / 1.274 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.152e-05/0.8093, allocations: 19.81 kB / 1.274 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.301e-05/0.8093, allocations: 4.656 kB / 1.274 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.386e-05/0.8093, allocations: 36.61 kB / 1.274 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.8093, allocations: 3.938 kB / 1.274 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001465/0.8095, allocations: 56.88 kB / 1.274 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.161e-05/0.8095, allocations: 78.59 kB / 1.274 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.8096, allocations: 162.6 kB / 1.274 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.969e-06/0.8096, allocations: 26.58 kB / 1.274 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.971e-05/0.8097, allocations: 107.8 kB / 1.274 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.993e-06/0.8097, allocations: 5.594 kB / 1.274 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.628e-05/0.8097, allocations: 18.53 kB / 1.274 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.101e-05/0.8097, allocations: 319.9 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.65e-05/0.8098, allocations: 4.031 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.824e-05/0.8098, allocations: 19.73 kB / 1.275 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.342e-05/0.8098, allocations: 35.66 kB / 1.275 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.8098, allocations: 0 / 1.275 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.868e-05/0.8099, allocations: 57.47 kB / 1.275 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.8099, allocations: 12.36 kB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.8099, allocations: 0.8438 kB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.8099, allocations: 0.625 kB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.67e-05/0.81, allocations: 10.5 kB / 1.275 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.81, allocations: 1.531 kB / 1.275 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.714e-05/0.81, allocations: 9.344 kB / 1.275 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-06/0.81, allocations: 1.469 kB / 1.275 GB, free: 5.012 MB / 0.9981 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.466e-05/0.8101, allocations: 113.9 kB / 1.275 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.094e-05/0.8101, allocations: 17.03 kB / 1.275 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.308e-05/0.8101, allocations: 15.91 kB / 1.275 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.8101, allocations: 2.453 kB / 1.275 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.8101, allocations: 0 / 1.275 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.8101, allocations: 0.8438 kB / 1.275 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002467/0.8104, allocations: 475.5 kB / 1.275 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.8104, allocations: 96 / 1.275 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.77e-05/0.8104, allocations: 3.625 kB / 1.275 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.8104, allocations: 4.734 kB / 1.275 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.8104, allocations: 1.594 kB / 1.275 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.8104, allocations: 0.875 kB / 1.275 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.8104, allocations: 1.031 kB / 1.275 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.725e-05/0.8105, allocations: 85.05 kB / 1.275 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.901e-05/0.8105, allocations: 89.92 kB / 1.276 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.8105, allocations: 2.562 kB / 1.276 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.875e-05/0.8105, allocations: 0 / 1.276 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.434e-05/0.8105, allocations: 2.328 kB / 1.276 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.8105, allocations: 0.7812 kB / 1.276 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.887e-05/0.8106, allocations: 121.9 kB / 1.276 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8106, allocations: 4.031 kB / 1.276 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001785/0.8108, allocations: 11.38 kB / 1.276 GB, free: 4.09 MB / 0.9981 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.0002161/0.811, allocations: 0.6154 MB / 1.276 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.638e-05/0.8111, allocations: 19.22 kB / 1.276 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.8111, allocations: 0.7812 kB / 1.276 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.538e-06/0.8111, allocations: 7.406 kB / 1.276 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.8112, allocations: 13.22 kB / 1.276 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000851/0.8121, allocations: 1.336 MB / 1.278 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.8123, allocations: 0.6939 MB / 1.278 GB, free: 17.53 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.101e-05/0.8124, allocations: 9.844 kB / 1.278 GB, free: 17.53 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.8124, allocations: 23.44 kB / 1.278 GB, free: 17.51 MB / 1.014 GB Notification: Performance of SimCode: time 2.8e-07/0.8124, allocations: 0 / 1.278 GB, free: 17.51 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/0.8344, allocations: 1.562 MB / 1.28 GB, free: 17.14 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.882/7.717, allocations: 7.875 kB / 1.28 GB, free: 17.13 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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: 12.977579933000015]