Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008551/0.0008551, 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.00138/0.00138, allocations: 165.9 kB / 22.46 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.9114/0.9114, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.773/1.773, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.981 GB, free: 2.605 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.96e-05/2.133e-05, allocations: 4.812 kB / 0.981 GB, free: 2.602 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001774/0.001795, allocations: 0.8062 MB / 0.9818 GB, free: 1.797 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 9.976e-05/0.001895, allocations: 39.78 kB / 0.9818 GB, free: 1.758 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.373e-05/0.001938, allocations: 0 / 0.9818 GB, free: 1.758 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.264e-05/0.001971, allocations: 11.81 kB / 0.9818 GB, free: 1.746 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.493e-05/0.002046, allocations: 11.92 kB / 0.9818 GB, free: 1.734 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 3.908e-05/0.002085, allocations: 23.97 kB / 0.9818 GB, free: 1.711 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.104e-05/0.002176, allocations: 55.84 kB / 0.9819 GB, free: 1.656 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.002297, allocations: 27.98 kB / 0.9819 GB, free: 1.629 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 8.75e-05/0.002384, allocations: 47.83 kB / 0.982 GB, free: 1.582 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.157e-05/0.002426, allocations: 15.92 kB / 0.982 GB, free: 1.566 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 3.052e-05/0.002456, allocations: 8 kB / 0.982 GB, free: 1.559 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 6.762e-06/0.002463, allocations: 4 kB / 0.982 GB, free: 1.555 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.209e-05/0.002485, allocations: 19.91 kB / 0.982 GB, free: 1.535 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.598e-05/0.002511, allocations: 19.94 kB / 0.982 GB, free: 1.516 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.002614, allocations: 75.62 kB / 0.9821 GB, free: 1.441 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.002616, allocations: 0 / 0.9821 GB, free: 1.441 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.282e-06/0.002617, allocations: 0 / 0.9821 GB, free: 1.441 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.389e-06/0.002621, allocations: 4 kB / 0.9821 GB, free: 1.438 MB / 0.9323 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.0003589/0.00298, allocations: 302 kB / 0.9824 GB, free: 1.109 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.003024, allocations: 12.03 kB / 0.9824 GB, free: 1.098 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.785e-05/0.003062, allocations: 34.75 kB / 0.9824 GB, free: 1.055 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.926e-05/0.003091, allocations: 16.84 kB / 0.9824 GB, free: 1.039 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.003255, allocations: 133.5 kB / 0.9826 GB, free: 0.8828 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.003269, allocations: 12.38 kB / 0.9826 GB, free: 0.8711 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.003278, allocations: 8.375 kB / 0.9826 GB, free: 0.8633 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.003405, allocations: 91.94 kB / 0.9827 GB, free: 0.7617 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/0.003413, allocations: 192 / 0.9827 GB, free: 0.7617 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.003424, allocations: 4.375 kB / 0.9827 GB, free: 0.7578 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.00343, allocations: 12.06 kB / 0.9827 GB, free: 0.7461 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.477e-05/0.003485, allocations: 35.92 kB / 0.9827 GB, free: 0.7109 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.003857, allocations: 391.8 kB / 0.9831 GB, free: 288 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 4.826e-05/0.003906, allocations: 41.27 kB / 0.9831 GB, free: 228 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.967e-05/0.003935, allocations: 21.84 kB / 0.9832 GB, free: 200 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/0.003943, allocations: 0 / 0.9832 GB, free: 200 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.003963, allocations: 30.56 kB / 0.9832 GB, free: 160 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.003964, allocations: 0 / 0.9832 GB, free: 160 kB / 0.9323 GB Notification: Performance of matching and sorting (n=2): time 0.0001438/0.004108, allocations: 61.8 kB / 0.9833 GB, free: 92 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.004157, allocations: 85.05 kB / 0.9833 GB, free: 15.99 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.00426, allocations: 156.3 kB / 0.9835 GB, free: 15.83 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.00427, allocations: 25.7 kB / 0.9835 GB, free: 15.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.469e-05/0.004325, allocations: 104 kB / 0.9836 GB, free: 15.69 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.416e-06/0.004333, allocations: 11.89 kB / 0.9836 GB, free: 15.68 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.004364, allocations: 17.7 kB / 0.9836 GB, free: 15.66 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.599e-05/0.00444, allocations: 314.8 kB / 0.9839 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.514e-05/0.004455, allocations: 15.92 kB / 0.984 GB, free: 15.32 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.752e-05/0.004472, allocations: 21.7 kB / 0.984 GB, free: 15.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.087e-05/0.004503, allocations: 29.75 kB / 0.984 GB, free: 15.26 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.004505, allocations: 0 / 0.984 GB, free: 15.26 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.547e-05/0.004561, allocations: 61.58 kB / 0.9841 GB, free: 15.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.004574, allocations: 6.969 kB / 0.9841 GB, free: 15.19 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.004579, allocations: 0 / 0.9841 GB, free: 15.19 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.004591, allocations: 4 kB / 0.9841 GB, free: 15.19 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.894e-05/0.00464, allocations: 7.938 kB / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.004645, allocations: 0 / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.689e-05/0.004662, allocations: 4 kB / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-06/0.004665, allocations: 4.062 kB / 0.9841 GB, free: 15.17 MB / 0.948 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.337e-05/0.004719, allocations: 113.8 kB / 0.9842 GB, free: 15.05 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/0.004741, allocations: 19.83 kB / 0.9842 GB, free: 15.03 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.58e-05/0.004757, allocations: 7.812 kB / 0.9842 GB, free: 15.03 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.004759, allocations: 0 / 0.9842 GB, free: 15.03 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.004764, allocations: 3.938 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.004768, allocations: 7.938 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/0.005011, allocations: 430 kB / 0.9846 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.005012, allocations: 0 / 0.9846 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.15e-05/0.005024, allocations: 15.94 kB / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.005025, allocations: 0 / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.005032, allocations: 3.984 kB / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.005033, allocations: 0 / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.005034, allocations: 3.938 kB / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.995e-05/0.005084, allocations: 73.95 kB / 0.9847 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.005102, allocations: 15.88 kB / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.005114, allocations: 4 kB / 0.9848 GB, free: 14.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.788e-06/0.005124, allocations: 4 kB / 0.9848 GB, free: 14.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.277e-05/0.005136, allocations: 4 kB / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-06/0.005138, allocations: 4.031 kB / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.558e-05/0.005193, allocations: 126 kB / 0.9849 GB, free: 14.27 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005193, allocations: 0 / 0.9849 GB, free: 14.27 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000128/0.005321, allocations: 11.94 kB / 0.9849 GB, free: 14.26 MB / 0.948 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.0002158/0.005537, allocations: 0.6132 MB / 0.9855 GB, free: 13.61 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.644e-05/0.005603, allocations: 19.94 kB / 0.9855 GB, free: 13.59 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.005606, allocations: 4 kB / 0.9855 GB, free: 13.59 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.212e-06/0.005612, allocations: 4.156 kB / 0.9855 GB, free: 13.58 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001145/0.005727, allocations: 16.02 kB / 0.9855 GB, free: 13.57 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009138/0.00664, allocations: 1.335 MB / 0.9868 GB, free: 12.12 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.225e-05/0.006683, allocations: 75.33 kB / 0.9869 GB, free: 12.03 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.783e-05/0.006711, allocations: 8.484 kB / 0.9869 GB, free: 12.02 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.311e-05/0.006754, allocations: 24.5 kB / 0.9869 GB, free: 12 MB / 0.948 GB Notification: Performance of SimCode: time 5.21e-07/0.006754, allocations: 4 kB / 0.987 GB, free: 12 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01335/0.02011, allocations: 2.228 MB / 0.9891 GB, free: 9.91 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.634/6.654, allocations: 7.234 kB / 0.9891 GB, free: 9.91 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.798846781253815]