Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001336/0.001336, allocations: 104.9 kB / 16.4 MB, free: 6.492 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.001442/0.001442, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.484/1.484, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.578/2.578, allocations: 437.1 MB / 0.7171 GB, free: 4.125 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.To_cfm,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 67.89 kB / 1.027 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9305/0.9327, allocations: 151.6 MB / 1.175 GB, free: 17.5 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001955/0.9347, allocations: 0.8347 MB / 1.176 GB, free: 16.96 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001241/0.9348, allocations: 41.52 kB / 1.176 GB, free: 16.93 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.297e-05/0.9349, allocations: 1.594 kB / 1.176 GB, free: 16.93 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.435e-05/0.9349, allocations: 9.281 kB / 1.176 GB, free: 16.92 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.29e-05/0.935, allocations: 10.58 kB / 1.176 GB, free: 16.91 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.067e-05/0.9351, allocations: 16.34 kB / 1.176 GB, free: 16.9 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.9352, allocations: 70.45 kB / 1.176 GB, free: 16.86 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.9354, allocations: 37.73 kB / 1.176 GB, free: 16.85 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.215e-05/0.9354, allocations: 26.53 kB / 1.176 GB, free: 16.83 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.138e-05/0.9355, allocations: 31.3 kB / 1.176 GB, free: 16.81 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.9355, allocations: 5.219 kB / 1.176 GB, free: 16.81 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.397e-05/0.9356, allocations: 6.344 kB / 1.176 GB, free: 16.81 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.115e-05/0.9356, allocations: 11.94 kB / 1.176 GB, free: 16.8 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.239e-05/0.9356, allocations: 37.77 kB / 1.176 GB, free: 16.78 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.9358, allocations: 79.47 kB / 1.176 GB, free: 16.74 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.9358, allocations: 2.234 kB / 1.176 GB, free: 16.74 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9358, allocations: 0 / 1.176 GB, free: 16.74 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.9358, allocations: 0 / 1.176 GB, free: 16.74 MB / 0.92 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.0003749/0.9362, allocations: 383.6 kB / 1.176 GB, free: 16.34 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.9362, allocations: 10.66 kB / 1.176 GB, free: 16.34 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.018e-05/0.9362, allocations: 39.89 kB / 1.176 GB, free: 16.3 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.769e-05/0.9363, allocations: 12.72 kB / 1.176 GB, free: 16.29 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.9365, allocations: 196.9 kB / 1.176 GB, free: 16.08 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.9365, allocations: 8.031 kB / 1.177 GB, free: 16.07 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.9365, allocations: 9.156 kB / 1.177 GB, free: 16.07 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.9367, allocations: 89.33 kB / 1.177 GB, free: 16.01 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.9367, allocations: 7.938 kB / 1.177 GB, free: 16 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.9367, allocations: 5.344 kB / 1.177 GB, free: 16 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-06/0.9367, allocations: 3.172 kB / 1.177 GB, free: 16 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.46e-05/0.9368, allocations: 39.09 kB / 1.177 GB, free: 15.98 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.9372, allocations: 438.8 kB / 1.177 GB, free: 15.57 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.685e-05/0.9373, allocations: 44.62 kB / 1.177 GB, free: 15.52 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.024e-05/0.9373, allocations: 21.59 kB / 1.177 GB, free: 15.5 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.9373, allocations: 0.7969 kB / 1.177 GB, free: 15.5 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.216e-05/0.9373, allocations: 31.94 kB / 1.177 GB, free: 15.46 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.9373, allocations: 0 / 1.177 GB, free: 15.46 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001626/0.9375, allocations: 64.98 kB / 1.177 GB, free: 15.4 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.9375, allocations: 78.81 kB / 1.177 GB, free: 15.31 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.9377, allocations: 160.6 kB / 1.177 GB, free: 15.19 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.202e-06/0.9377, allocations: 25.7 kB / 1.177 GB, free: 15.16 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.966e-05/0.9377, allocations: 103.1 kB / 1.178 GB, free: 15.06 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.436e-06/0.9378, allocations: 5.875 kB / 1.178 GB, free: 15.06 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/0.9378, allocations: 18.88 kB / 1.178 GB, free: 15.04 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 5.492e-05/0.9378, allocations: 324.1 kB / 1.178 GB, free: 14.72 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.216e-05/0.9379, allocations: 11.55 kB / 1.178 GB, free: 14.71 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.886e-05/0.9379, allocations: 20.38 kB / 1.178 GB, free: 14.69 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.536e-05/0.9379, allocations: 27.56 kB / 1.178 GB, free: 14.67 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.9379, allocations: 0.7969 kB / 1.178 GB, free: 14.67 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.442e-05/0.938, allocations: 61.02 kB / 1.178 GB, free: 14.62 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.938, allocations: 13.62 kB / 1.178 GB, free: 14.61 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.9381, allocations: 0.6562 kB / 1.178 GB, free: 14.61 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.9381, allocations: 0.9688 kB / 1.178 GB, free: 14.61 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.131e-05/0.9381, allocations: 6.312 kB / 1.178 GB, free: 14.61 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.9382, allocations: 0.6562 kB / 1.178 GB, free: 14.61 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.19e-05/0.9382, allocations: 10.59 kB / 1.178 GB, free: 14.61 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-06/0.9382, allocations: 1.188 kB / 1.178 GB, free: 14.61 MB / 0.92 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 6.191e-05/0.9383, allocations: 115.4 kB / 1.178 GB, free: 14.49 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.153e-05/0.9384, allocations: 11.61 kB / 1.178 GB, free: 14.48 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.408e-05/0.9384, allocations: 12.33 kB / 1.178 GB, free: 14.46 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.9384, allocations: 5.25 kB / 1.178 GB, free: 14.46 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.9384, allocations: 0 / 1.178 GB, free: 14.46 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.9384, allocations: 1.75 kB / 1.178 GB, free: 14.46 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002791/0.9387, allocations: 470.4 kB / 1.179 GB, free: 13.98 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.9387, allocations: 5.859 kB / 1.179 GB, free: 13.97 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.939e-05/0.9387, allocations: 3.641 kB / 1.179 GB, free: 13.97 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.9387, allocations: 4.062 kB / 1.179 GB, free: 13.97 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.9387, allocations: 1.562 kB / 1.179 GB, free: 13.97 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.9388, allocations: 0.6094 kB / 1.179 GB, free: 13.97 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.9388, allocations: 1.312 kB / 1.179 GB, free: 13.97 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.3e-05/0.9388, allocations: 76.75 kB / 1.179 GB, free: 13.89 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.473e-05/0.9389, allocations: 94 kB / 1.179 GB, free: 13.78 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.9389, allocations: 2.094 kB / 1.179 GB, free: 13.78 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.931e-05/0.9389, allocations: 4 kB / 1.179 GB, free: 13.78 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.674e-05/0.9389, allocations: 2.969 kB / 1.179 GB, free: 13.78 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.9389, allocations: 5 kB / 1.179 GB, free: 13.77 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.604e-05/0.939, allocations: 118.9 kB / 1.179 GB, free: 13.69 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.41e-07/0.939, allocations: 0 / 1.179 GB, free: 13.69 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000188/0.9392, allocations: 10.5 kB / 1.179 GB, free: 13.68 MB / 0.92 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.0002548/0.9395, allocations: 0.6121 MB / 1.18 GB, free: 13.07 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.997e-05/0.9396, allocations: 19.45 kB / 1.18 GB, free: 13.07 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.9396, allocations: 1.438 kB / 1.18 GB, free: 13.07 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.094e-05/0.9396, allocations: 12.56 kB / 1.18 GB, free: 13.06 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/0.9398, allocations: 7.969 kB / 1.18 GB, free: 13.05 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009485/0.9407, allocations: 1.34 MB / 1.181 GB, free: 11.82 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.9408, allocations: 0.6944 MB / 1.182 GB, free: 11.12 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.456e-05/0.9409, allocations: 6.984 kB / 1.182 GB, free: 11.12 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.479e-05/0.9409, allocations: 28.27 kB / 1.182 GB, free: 11.1 MB / 0.92 GB Notification: Performance of SimCode: time 2.31e-07/0.9409, allocations: 0 / 1.182 GB, free: 11.1 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.9634, allocations: 1.577 MB / 1.183 GB, free: 10.71 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.138/9.102, allocations: 10.59 kB / 1.183 GB, free: 10.7 MB / 0.92 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.006682479055598]