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.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.001652/0.001652, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001627/0.001627, allocations: 218 kB / 23.03 MB, free: 4.922 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.545/1.545, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.399/3.399, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="cs",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.00198/0.00198, allocations: 71.39 kB / 1.171 GB, free: 19.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4201, allocations: 179 MB / 1.345 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002568/0.4227, allocations: 0.8011 MB / 1.346 GB, free: 15.12 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001552/0.4228, allocations: 35.84 kB / 1.346 GB, free: 15.09 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.55e-05/0.4229, allocations: 0 / 1.346 GB, free: 15.09 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.98e-05/0.4229, allocations: 11.86 kB / 1.346 GB, free: 15.07 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.4231, allocations: 19.88 kB / 1.346 GB, free: 15.05 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 5.251e-05/0.4231, allocations: 11.98 kB / 1.346 GB, free: 15.04 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.4232, allocations: 63.84 kB / 1.346 GB, free: 14.98 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.4234, allocations: 39.89 kB / 1.346 GB, free: 14.94 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.34e-05/0.4235, allocations: 23.88 kB / 1.346 GB, free: 14.92 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.655e-05/0.4235, allocations: 31.78 kB / 1.346 GB, free: 14.89 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.4236, allocations: 8 kB / 1.346 GB, free: 14.88 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.912e-05/0.4236, allocations: 4 kB / 1.346 GB, free: 14.88 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.455e-05/0.4236, allocations: 15.94 kB / 1.346 GB, free: 14.86 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.663e-05/0.4236, allocations: 23.86 kB / 1.346 GB, free: 14.84 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.4238, allocations: 83.8 kB / 1.346 GB, free: 14.75 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.4238, allocations: 0 / 1.346 GB, free: 14.75 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4238, allocations: 0 / 1.346 GB, free: 14.75 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.4238, allocations: 4 kB / 1.346 GB, free: 14.75 MB / 1.045 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.0004589/0.4242, allocations: 306 kB / 1.347 GB, free: 14.42 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.4243, allocations: 8.031 kB / 1.347 GB, free: 14.41 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.293e-05/0.4243, allocations: 4.188 kB / 1.347 GB, free: 14.41 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.482e-05/0.4243, allocations: 38.75 kB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.409e-05/0.4244, allocations: 8.891 kB / 1.347 GB, free: 14.35 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.4246, allocations: 146.2 kB / 1.347 GB, free: 14.18 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.4246, allocations: 8.375 kB / 1.347 GB, free: 14.18 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.4246, allocations: 8.375 kB / 1.347 GB, free: 14.17 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.4248, allocations: 99.61 kB / 1.347 GB, free: 14.06 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.4248, allocations: 0 / 1.347 GB, free: 14.06 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.4248, allocations: 3.984 kB / 1.347 GB, free: 14.05 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.4248, allocations: 0 / 1.347 GB, free: 14.05 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.212e-05/0.4249, allocations: 39.92 kB / 1.347 GB, free: 14.02 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006469/0.4255, allocations: 391.8 kB / 1.347 GB, free: 13.59 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 7.207e-05/0.4256, allocations: 45.22 kB / 1.347 GB, free: 13.52 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.57e-05/0.4257, allocations: 21.84 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.356e-06/0.4257, allocations: 4 kB / 1.348 GB, free: 13.49 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.4257, allocations: 34.5 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.4257, allocations: 0 / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001923/0.4259, allocations: 57.58 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.469e-05/0.426, allocations: 77.11 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.4261, allocations: 160.5 kB / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.4262, allocations: 25.7 kB / 1.348 GB, free: 13.1 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.103e-05/0.4262, allocations: 104 kB / 1.348 GB, free: 12.99 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.219e-05/0.4262, allocations: 12.2 kB / 1.348 GB, free: 12.98 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.4263, allocations: 13.72 kB / 1.348 GB, free: 12.96 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.4264, allocations: 322.8 kB / 1.348 GB, free: 12.64 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.002e-05/0.4265, allocations: 11.94 kB / 1.348 GB, free: 12.62 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.461e-05/0.4265, allocations: 13.72 kB / 1.348 GB, free: 12.61 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.384e-05/0.4265, allocations: 25.72 kB / 1.348 GB, free: 12.57 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.4265, allocations: 0 / 1.348 GB, free: 12.57 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001026/0.4266, allocations: 65.58 kB / 1.348 GB, free: 12.5 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.4267, allocations: 8 kB / 1.348 GB, free: 12.5 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4267, allocations: 4 kB / 1.348 GB, free: 12.49 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.4267, allocations: 4 kB / 1.348 GB, free: 12.49 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.119e-05/0.4268, allocations: 4 kB / 1.348 GB, free: 12.48 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.4268, allocations: 0 / 1.348 GB, free: 12.48 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.352e-05/0.4268, allocations: 7.953 kB / 1.348 GB, free: 12.48 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.4268, allocations: 3.938 kB / 1.348 GB, free: 12.47 MB / 1.045 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 9.672e-05/0.4269, allocations: 117.8 kB / 1.349 GB, free: 12.35 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.4269, allocations: 11.89 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.622e-05/0.427, allocations: 11.81 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.427, allocations: 0 / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.427, allocations: 4 kB / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.427, allocations: 3.938 kB / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004221/0.4274, allocations: 441.8 kB / 1.349 GB, free: 11.82 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.4274, allocations: 3.984 kB / 1.349 GB, free: 11.82 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.404e-05/0.4274, allocations: 7.938 kB / 1.349 GB, free: 11.81 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4274, allocations: 0 / 1.349 GB, free: 11.81 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.4275, allocations: 4 kB / 1.349 GB, free: 11.8 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.4275, allocations: 0 / 1.349 GB, free: 11.8 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4275, allocations: 0 / 1.349 GB, free: 11.8 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.4276, allocations: 81.95 kB / 1.349 GB, free: 11.7 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.645e-05/0.4276, allocations: 11.94 kB / 1.349 GB, free: 11.69 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.4276, allocations: 0 / 1.349 GB, free: 11.69 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.311e-05/0.4276, allocations: 4 kB / 1.349 GB, free: 11.69 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.087e-05/0.4276, allocations: 3.938 kB / 1.349 GB, free: 11.68 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-06/0.4276, allocations: 4 kB / 1.349 GB, free: 11.68 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000111/0.4277, allocations: 126.2 kB / 1.349 GB, free: 11.56 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4277, allocations: 0 / 1.349 GB, free: 11.56 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001888/0.4279, allocations: 8 kB / 1.349 GB, free: 11.55 MB / 1.045 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.0004347/0.4284, allocations: 0.6133 MB / 1.35 GB, free: 10.91 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.781e-05/0.4285, allocations: 19.92 kB / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4285, allocations: 0 / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.168e-05/0.4285, allocations: 4 kB / 1.35 GB, free: 10.88 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.4286, allocations: 8 kB / 1.35 GB, free: 10.88 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.43, allocations: 1.335 MB / 1.351 GB, free: 9.441 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.526e-05/0.4301, allocations: 87.41 kB / 1.351 GB, free: 9.336 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.096e-05/0.4301, allocations: 8.422 kB / 1.351 GB, free: 9.328 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.478e-05/0.4302, allocations: 19.53 kB / 1.351 GB, free: 9.309 MB / 1.045 GB Notification: Performance of SimCode: time 2.61e-07/0.4302, allocations: 0 / 1.351 GB, free: 9.309 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02771/0.4579, allocations: 1.754 MB / 1.353 GB, free: 7.703 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.68, allocations: 14.11 kB / 1.353 GB, free: 7.691 MB / 1.045 GB " [Timeout remaining time 288] (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/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: 19.086315799038857]