Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001362/0.001362, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001748/0.001748, allocations: 219 kB / 22.25 MB, free: 5.121 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.552/1.552, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.878/2.878, allocations: 476.7 MB / 0.7707 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",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.002056/0.002056, allocations: 64.81 kB / 1.117 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3779, allocations: 169.9 MB / 1.283 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002378/0.3803, allocations: 0.8401 MB / 1.284 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001379/0.3804, allocations: 39.78 kB / 1.284 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.368e-05/0.3805, allocations: 4 kB / 1.284 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.724e-05/0.3806, allocations: 7.875 kB / 1.284 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.945e-05/0.3806, allocations: 11.86 kB / 1.284 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.624e-05/0.3807, allocations: 19.98 kB / 1.284 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.3808, allocations: 59.84 kB / 1.284 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.381, allocations: 31.97 kB / 1.284 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.141e-05/0.381, allocations: 35.8 kB / 1.284 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.726e-05/0.3811, allocations: 23.86 kB / 1.284 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.3811, allocations: 4 kB / 1.284 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.226e-05/0.3811, allocations: 8 kB / 1.284 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.635e-05/0.3812, allocations: 15.92 kB / 1.284 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.438e-05/0.3812, allocations: 35.75 kB / 1.284 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.3814, allocations: 87.78 kB / 1.285 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3814, allocations: 3.938 kB / 1.285 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3814, allocations: 0 / 1.285 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.3814, allocations: 0 / 1.285 GB, free: 2.582 MB / 0.9825 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.0004544/0.3818, allocations: 306 kB / 1.285 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3819, allocations: 8.031 kB / 1.285 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.576e-05/0.3819, allocations: 42.73 kB / 1.285 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.749e-05/0.3819, allocations: 8.891 kB / 1.285 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.3821, allocations: 130.4 kB / 1.285 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.3822, allocations: 12.31 kB / 1.285 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.3822, allocations: 8.375 kB / 1.285 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.3823, allocations: 98.36 kB / 1.285 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3824, allocations: 3.938 kB / 1.285 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.3824, allocations: 7.984 kB / 1.285 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.3824, allocations: 4 kB / 1.285 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.298e-05/0.3825, allocations: 35.92 kB / 1.285 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005942/0.3831, allocations: 399.8 kB / 1.286 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.925e-05/0.3831, allocations: 41.19 kB / 1.286 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.829e-05/0.3832, allocations: 25.83 kB / 1.286 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/0.3832, allocations: 0 / 1.286 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.3832, allocations: 30.56 kB / 1.286 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3832, allocations: 0 / 1.286 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001863/0.3834, allocations: 57.53 kB / 1.286 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.3834, allocations: 81.11 kB / 1.286 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.3836, allocations: 161.3 kB / 1.286 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.3836, allocations: 25.7 kB / 1.286 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.023e-05/0.3837, allocations: 108 kB / 1.286 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.09e-05/0.3837, allocations: 7.953 kB / 1.286 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.3837, allocations: 13.72 kB / 1.286 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3839, allocations: 331 kB / 1.286 GB, free: 476 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.72e-05/0.3839, allocations: 4 kB / 1.286 GB, free: 472 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.065e-05/0.3839, allocations: 25.64 kB / 1.286 GB, free: 440 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.335e-05/0.384, allocations: 25.72 kB / 1.286 GB, free: 408 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.384, allocations: 0 / 1.286 GB, free: 408 kB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.31e-05/0.3841, allocations: 61.61 kB / 1.287 GB, free: 340 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.3841, allocations: 11.94 kB / 1.287 GB, free: 328 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3841, allocations: 0 / 1.287 GB, free: 328 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.3841, allocations: 0 / 1.287 GB, free: 328 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.151e-05/0.3842, allocations: 4 kB / 1.287 GB, free: 324 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.3842, allocations: 4 kB / 1.287 GB, free: 320 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.49e-05/0.3842, allocations: 11.95 kB / 1.287 GB, free: 308 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-06/0.3842, allocations: 7.938 kB / 1.287 GB, free: 300 kB / 0.9825 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 8.348e-05/0.3843, allocations: 105.8 kB / 1.287 GB, free: 184 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.916e-05/0.3843, allocations: 19.92 kB / 1.287 GB, free: 164 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.444e-05/0.3844, allocations: 11.8 kB / 1.287 GB, free: 152 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3844, allocations: 96 / 1.287 GB, free: 152 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.3844, allocations: 4 kB / 1.287 GB, free: 148 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3844, allocations: 3.984 kB / 1.287 GB, free: 144 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004226/0.3848, allocations: 445.8 kB / 1.287 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3848, allocations: 0 / 1.287 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.235e-05/0.3848, allocations: 4 kB / 1.287 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3848, allocations: 4.062 kB / 1.287 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.3848, allocations: 0 / 1.287 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3848, allocations: 3.938 kB / 1.287 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3848, allocations: 0 / 1.287 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.309e-05/0.3849, allocations: 81.88 kB / 1.287 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.629e-05/0.3849, allocations: 11.91 kB / 1.287 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.385, allocations: 12.02 kB / 1.287 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.02e-05/0.385, allocations: 0 / 1.287 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.392e-05/0.385, allocations: 0 / 1.287 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.385, allocations: 0 / 1.287 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.191e-05/0.3851, allocations: 119.2 kB / 1.287 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3851, allocations: 0 / 1.287 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001923/0.3853, allocations: 12 kB / 1.287 GB, free: 15.38 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.0004128/0.3857, allocations: 0.6132 MB / 1.288 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.206e-05/0.3858, allocations: 23.88 kB / 1.288 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3858, allocations: 0 / 1.288 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.227e-05/0.3858, allocations: 8 kB / 1.288 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.386, allocations: 5.828 kB / 1.288 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.3873, allocations: 1.329 MB / 1.289 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.3876, allocations: 0.6924 MB / 1.29 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.118e-05/0.3877, allocations: 4.438 kB / 1.29 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.01e-05/0.3877, allocations: 31.42 kB / 1.29 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.3877, allocations: 0 / 1.29 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02809/0.4158, allocations: 1.693 MB / 1.292 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.57, allocations: 8.484 kB / 1.292 GB, free: 10.96 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.42306196410209]