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.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.001799/0.001799, allocations: 106 kB / 16.45 MB, free: 6.445 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.001649/0.001649, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.531/1.531, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.995/2.995, allocations: 497.2 MB / 0.7812 GB, free: 11.98 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.To_cfm,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 63.91 kB / 1.134 GB, free: 13.18 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.021/1.023, allocations: 173.9 MB / 1.304 GB, free: 32.18 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001874/1.025, allocations: 0.8349 MB / 1.305 GB, free: 31.63 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001039/1.025, allocations: 36.72 kB / 1.305 GB, free: 31.6 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.378e-05/1.025, allocations: 2.75 kB / 1.305 GB, free: 31.6 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.54e-05/1.025, allocations: 11.06 kB / 1.305 GB, free: 31.59 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.032e-05/1.025, allocations: 11.92 kB / 1.305 GB, free: 31.58 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.349e-05/1.025, allocations: 19.88 kB / 1.305 GB, free: 31.57 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.883e-05/1.025, allocations: 67.64 kB / 1.305 GB, free: 31.54 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/1.025, allocations: 39.17 kB / 1.305 GB, free: 31.52 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.435e-05/1.025, allocations: 25.7 kB / 1.305 GB, free: 31.5 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.119e-05/1.025, allocations: 28.75 kB / 1.305 GB, free: 31.48 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/1.025, allocations: 5.75 kB / 1.305 GB, free: 31.48 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.566e-06/1.025, allocations: 6.156 kB / 1.305 GB, free: 31.48 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/1.025, allocations: 18.92 kB / 1.305 GB, free: 31.47 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/1.025, allocations: 29.22 kB / 1.305 GB, free: 31.45 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.45e-05/1.026, allocations: 78.86 kB / 1.305 GB, free: 31.41 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/1.026, allocations: 0 / 1.305 GB, free: 31.41 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.194e-06/1.026, allocations: 4 kB / 1.305 GB, free: 31.41 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.389e-06/1.026, allocations: 0 / 1.305 GB, free: 31.41 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.0003185/1.026, allocations: 382.2 kB / 1.306 GB, free: 31.02 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/1.026, allocations: 9.25 kB / 1.306 GB, free: 31.02 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.919e-05/1.026, allocations: 40.83 kB / 1.306 GB, free: 30.98 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.311e-05/1.026, allocations: 10.55 kB / 1.306 GB, free: 30.97 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/1.026, allocations: 202.5 kB / 1.306 GB, free: 30.75 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.732e-06/1.026, allocations: 3.375 kB / 1.306 GB, free: 30.75 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/1.026, allocations: 11.34 kB / 1.306 GB, free: 30.75 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/1.026, allocations: 88.98 kB / 1.306 GB, free: 30.68 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/1.026, allocations: 3.938 kB / 1.306 GB, free: 30.68 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.986e-06/1.026, allocations: 4 kB / 1.306 GB, free: 30.68 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/1.026, allocations: 7 kB / 1.306 GB, free: 30.67 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.226e-05/1.026, allocations: 39.44 kB / 1.306 GB, free: 30.66 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/1.027, allocations: 438 kB / 1.306 GB, free: 30.25 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.435e-05/1.027, allocations: 39.84 kB / 1.306 GB, free: 30.2 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.683e-05/1.027, allocations: 18.94 kB / 1.306 GB, free: 30.18 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.641e-06/1.027, allocations: 0 / 1.306 GB, free: 30.18 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.277e-05/1.027, allocations: 41 kB / 1.306 GB, free: 30.13 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/1.027, allocations: 0 / 1.306 GB, free: 30.13 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001432/1.027, allocations: 59.47 kB / 1.306 GB, free: 30.08 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/1.027, allocations: 77.11 kB / 1.307 GB, free: 29.99 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/1.027, allocations: 161.1 kB / 1.307 GB, free: 29.87 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.873e-06/1.027, allocations: 28.73 kB / 1.307 GB, free: 29.84 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.055e-05/1.027, allocations: 106.5 kB / 1.307 GB, free: 29.74 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.334e-06/1.027, allocations: 11.02 kB / 1.307 GB, free: 29.73 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/1.027, allocations: 16.75 kB / 1.307 GB, free: 29.71 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.258e-05/1.027, allocations: 318 kB / 1.307 GB, free: 29.39 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.494e-05/1.027, allocations: 5.656 kB / 1.307 GB, free: 29.39 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.699e-05/1.027, allocations: 20.19 kB / 1.307 GB, free: 29.38 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.128e-05/1.027, allocations: 26.28 kB / 1.307 GB, free: 29.35 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.027, allocations: 6.781 kB / 1.307 GB, free: 29.35 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.784e-05/1.027, allocations: 58.28 kB / 1.307 GB, free: 29.3 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/1.027, allocations: 12.64 kB / 1.307 GB, free: 29.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/1.027, allocations: 0 / 1.307 GB, free: 29.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/1.027, allocations: 0 / 1.307 GB, free: 29.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.266e-05/1.027, allocations: 5.25 kB / 1.307 GB, free: 29.3 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/1.027, allocations: 2.969 kB / 1.307 GB, free: 29.3 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.684e-05/1.027, allocations: 11.89 kB / 1.307 GB, free: 29.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-06/1.027, allocations: 3.062 kB / 1.307 GB, free: 29.29 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.482e-05/1.027, allocations: 124.7 kB / 1.307 GB, free: 29.16 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.005e-05/1.028, allocations: 11.14 kB / 1.307 GB, free: 29.15 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.036e-05/1.028, allocations: 16.55 kB / 1.307 GB, free: 29.14 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/1.028, allocations: 0 / 1.307 GB, free: 29.14 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/1.028, allocations: 0 / 1.307 GB, free: 29.14 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/1.028, allocations: 0 / 1.307 GB, free: 29.14 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002576/1.028, allocations: 471.6 kB / 1.308 GB, free: 28.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.028, allocations: 3.938 kB / 1.308 GB, free: 28.65 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.718e-05/1.028, allocations: 3.188 kB / 1.308 GB, free: 28.65 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/1.028, allocations: 3.281 kB / 1.308 GB, free: 28.65 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/1.028, allocations: 0 / 1.308 GB, free: 28.65 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/1.028, allocations: 3.234 kB / 1.308 GB, free: 28.65 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/1.028, allocations: 0 / 1.308 GB, free: 28.65 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.74e-05/1.028, allocations: 83.83 kB / 1.308 GB, free: 28.56 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.143e-05/1.028, allocations: 86.92 kB / 1.308 GB, free: 28.46 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/1.028, allocations: 0 / 1.308 GB, free: 28.46 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.983e-05/1.028, allocations: 2.625 kB / 1.308 GB, free: 28.46 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.751e-05/1.028, allocations: 7.922 kB / 1.308 GB, free: 28.46 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/1.028, allocations: 2.625 kB / 1.308 GB, free: 28.46 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.026e-05/1.028, allocations: 126.8 kB / 1.308 GB, free: 28.37 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.028, allocations: 0 / 1.308 GB, free: 28.37 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001827/1.028, allocations: 12.52 kB / 1.308 GB, free: 28.36 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.0002347/1.028, allocations: 0.6087 MB / 1.309 GB, free: 27.75 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.025e-05/1.029, allocations: 19.16 kB / 1.309 GB, free: 27.75 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/1.029, allocations: 160 / 1.309 GB, free: 27.75 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.568e-06/1.029, allocations: 13.34 kB / 1.309 GB, free: 27.74 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/1.029, allocations: 14.14 kB / 1.309 GB, free: 27.73 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008032/1.029, allocations: 1.326 MB / 1.31 GB, free: 26.51 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.572e-05/1.03, allocations: 0.6991 MB / 1.311 GB, free: 25.81 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.882e-05/1.03, allocations: 6.641 kB / 1.311 GB, free: 25.81 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/1.03, allocations: 22.25 kB / 1.311 GB, free: 25.79 MB / 1.061 GB Notification: Performance of SimCode: time 3.31e-07/1.03, allocations: 0 / 1.311 GB, free: 25.79 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02301/1.053, allocations: 1.589 MB / 1.312 GB, free: 25.41 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.134/9.187, allocations: 10.08 kB / 1.312 GB, free: 25.4 MB / 1.061 GB " [Timeout remaining time 291] (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_2/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: 15.77104935189709]