Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001841/0.001841, allocations: 109 kB / 16.46 MB, free: 6.453 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.002218/0.002218, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.601/1.601, allocations: 230.6 MB / 252.8 MB, free: 8.961 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 3.024/3.024, allocations: 476.7 MB / 0.7672 GB, free: 5.215 MB / 0.6231 GB " [Timeout remaining time 176] 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.From_cfm,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_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.002066/0.002066, allocations: 71.89 kB / 1.112 GB, free: 1.535 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9907/0.9927, allocations: 169.9 MB / 1.278 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002256/0.995, allocations: 0.8428 MB / 1.279 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001191/0.9951, allocations: 43.78 kB / 1.279 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.583e-05/0.9952, allocations: 0 / 1.279 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.201e-05/0.9952, allocations: 7.875 kB / 1.279 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.201e-05/0.9953, allocations: 11.86 kB / 1.279 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.608e-05/0.9953, allocations: 19.98 kB / 1.279 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.9955, allocations: 59.84 kB / 1.279 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.9956, allocations: 31.97 kB / 1.279 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.477e-05/0.9956, allocations: 27.86 kB / 1.279 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.742e-05/0.9957, allocations: 31.8 kB / 1.279 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.9957, allocations: 4 kB / 1.279 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.303e-05/0.9957, allocations: 8 kB / 1.279 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.354e-05/0.9958, allocations: 15.92 kB / 1.279 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.174e-05/0.9958, allocations: 35.75 kB / 1.279 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.9959, allocations: 81.45 kB / 1.279 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.9959, allocations: 0 / 1.279 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9959, allocations: 0 / 1.279 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.9959, allocations: 0 / 1.279 GB, free: 12.2 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.0004553/0.9964, allocations: 383.1 kB / 1.28 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.9964, allocations: 11.97 kB / 1.28 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.06e-05/0.9965, allocations: 42.73 kB / 1.28 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.803e-05/0.9965, allocations: 8.891 kB / 1.28 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.9967, allocations: 192.2 kB / 1.28 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.9968, allocations: 8.375 kB / 1.28 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.9968, allocations: 4.375 kB / 1.28 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.9969, allocations: 99.8 kB / 1.28 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.9969, allocations: 7.938 kB / 1.28 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.997, allocations: 0 / 1.28 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.997, allocations: 4 kB / 1.28 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.962e-05/0.997, allocations: 31.98 kB / 1.28 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005437/0.9976, allocations: 440.7 kB / 1.281 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.332e-05/0.9976, allocations: 45.14 kB / 1.281 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.904e-05/0.9977, allocations: 29.81 kB / 1.281 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.473e-06/0.9977, allocations: 0 / 1.281 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.9977, allocations: 30.56 kB / 1.281 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.9977, allocations: 0 / 1.281 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001709/0.9979, allocations: 61.62 kB / 1.281 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.319e-05/0.998, allocations: 81.09 kB / 1.281 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.9981, allocations: 156.9 kB / 1.281 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.9981, allocations: 25.7 kB / 1.281 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.062e-05/0.9982, allocations: 104 kB / 1.281 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.989e-06/0.9982, allocations: 7.953 kB / 1.281 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.9982, allocations: 21.64 kB / 1.281 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.9984, allocations: 319 kB / 1.281 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.042e-05/0.9984, allocations: 15.98 kB / 1.281 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.491e-05/0.9984, allocations: 13.72 kB / 1.282 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.411e-05/0.9985, allocations: 29.66 kB / 1.282 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.9985, allocations: 0 / 1.282 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.491e-05/0.9986, allocations: 53.64 kB / 1.282 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.9986, allocations: 12 kB / 1.282 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.9986, allocations: 7.938 kB / 1.282 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.9986, allocations: 0 / 1.282 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.822e-05/0.9986, allocations: 8 kB / 1.282 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.9987, allocations: 4 kB / 1.282 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.104e-05/0.9987, allocations: 7.891 kB / 1.282 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.9987, allocations: 8 kB / 1.282 GB, free: 9.691 MB / 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.273e-05/0.9988, allocations: 109.8 kB / 1.282 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.653e-05/0.9988, allocations: 11.89 kB / 1.282 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.601e-05/0.9988, allocations: 15.86 kB / 1.282 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.9989, allocations: 4 kB / 1.282 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.9989, allocations: 0 / 1.282 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.9989, allocations: 96 / 1.282 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004189/0.9993, allocations: 470.8 kB / 1.282 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.9993, allocations: 3.984 kB / 1.282 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.951e-05/0.9993, allocations: 4 kB / 1.282 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.9993, allocations: 0 / 1.282 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.9993, allocations: 4.062 kB / 1.282 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.9993, allocations: 3.984 kB / 1.282 GB, free: 9 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.9993, allocations: 0 / 1.282 GB, free: 9 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.245e-05/0.9994, allocations: 81.83 kB / 1.282 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.078e-05/0.9995, allocations: 93 kB / 1.282 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.9995, allocations: 4 kB / 1.282 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.046e-05/0.9995, allocations: 4.031 kB / 1.282 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.069e-05/0.9995, allocations: 0 / 1.282 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-06/0.9995, allocations: 3.938 kB / 1.282 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001014/0.9996, allocations: 121.9 kB / 1.283 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.9996, allocations: 0 / 1.283 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001856/0.9998, allocations: 8 kB / 1.283 GB, free: 8.652 MB / 0.9825 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.0004406/1, allocations: 0.6254 MB / 1.283 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.246e-05/1, allocations: 12 kB / 1.283 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/1, allocations: 0 / 1.283 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.037e-05/1, allocations: 11.92 kB / 1.283 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001634/1.001, allocations: 10.66 kB / 1.283 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/1.002, allocations: 1.322 MB / 1.284 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/1.002, allocations: 0.6928 MB / 1.285 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.815e-05/1.002, allocations: 8.422 kB / 1.285 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.046e-05/1.002, allocations: 27.44 kB / 1.285 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/1.002, allocations: 0 / 1.285 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02684/1.029, allocations: 1.596 MB / 1.287 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.203/9.233, allocations: 11.94 kB / 1.287 GB, free: 4.281 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.941660473821685]