Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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.001446/0.001446, allocations: 106.8 kB / 17.54 MB, free: 4.781 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.001501/0.001501, allocations: 189.9 kB / 20.71 MB, free: 1.625 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.319/1.319, allocations: 225.6 MB / 249.3 MB, free: 3.207 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.55/2.55, allocations: 476.7 MB / 0.7628 GB, free: 15.21 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.From_degC,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 71.88 kB / 1.107 GB, free: 5.156 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8192/0.8211, allocations: 168.7 MB / 1.271 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.001759/0.8229, allocations: 0.8951 MB / 1.272 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001102/0.823, allocations: 51.61 kB / 1.272 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.674e-05/0.823, allocations: 2.094 kB / 1.272 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.437e-05/0.8231, allocations: 13.12 kB / 1.272 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.652e-05/0.8231, allocations: 11.22 kB / 1.272 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.335e-05/0.8232, allocations: 25.5 kB / 1.272 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.8233, allocations: 87.33 kB / 1.272 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.8234, allocations: 40.2 kB / 1.272 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.51e-05/0.8235, allocations: 32.39 kB / 1.273 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.987e-05/0.8235, allocations: 37.08 kB / 1.273 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.8236, allocations: 8.094 kB / 1.273 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.342e-05/0.8236, allocations: 8 kB / 1.273 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.824e-05/0.8236, allocations: 17.16 kB / 1.273 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.491e-05/0.8236, allocations: 46.77 kB / 1.273 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.8238, allocations: 102.6 kB / 1.273 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.8238, allocations: 4 kB / 1.273 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8238, allocations: 0 / 1.273 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.8238, allocations: 1 kB / 1.273 GB, free: 6.852 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003442/0.8241, allocations: 396.3 kB / 1.273 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.8242, allocations: 9.469 kB / 1.273 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.915e-05/0.8242, allocations: 40.05 kB / 1.273 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.655e-05/0.8242, allocations: 14.84 kB / 1.273 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.8244, allocations: 209.6 kB / 1.273 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.8244, allocations: 4 kB / 1.273 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.8244, allocations: 14.81 kB / 1.273 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.8245, allocations: 106.8 kB / 1.273 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.8246, allocations: 3.938 kB / 1.273 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-06/0.8246, allocations: 1 kB / 1.273 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.8246, allocations: 6.5 kB / 1.273 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.063e-05/0.8246, allocations: 44.78 kB / 1.274 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004138/0.8251, allocations: 470 kB / 1.274 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.863e-05/0.8251, allocations: 37.53 kB / 1.274 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.747e-05/0.8251, allocations: 23.59 kB / 1.274 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.572e-06/0.8251, allocations: 2.125 kB / 1.274 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.441e-05/0.8251, allocations: 35.34 kB / 1.274 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.8251, allocations: 0 / 1.274 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001419/0.8253, allocations: 60.31 kB / 1.274 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/0.8253, allocations: 86.14 kB / 1.274 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.8254, allocations: 186.7 kB / 1.274 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.401e-06/0.8255, allocations: 26.7 kB / 1.274 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.006e-05/0.8255, allocations: 106.2 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.623e-06/0.8255, allocations: 16.73 kB / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-05/0.8255, allocations: 18.66 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.891e-05/0.8256, allocations: 321.3 kB / 1.275 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.612e-05/0.8256, allocations: 7.859 kB / 1.275 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.76e-05/0.8256, allocations: 25.77 kB / 1.275 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.129e-05/0.8256, allocations: 22.97 kB / 1.275 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.8256, allocations: 4 kB / 1.275 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.926e-05/0.8257, allocations: 61.11 kB / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.8257, allocations: 5.969 kB / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.8257, allocations: 3.938 kB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.8257, allocations: 0.875 kB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.2e-05/0.8258, allocations: 7.094 kB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.8258, allocations: 0.8438 kB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.812e-05/0.8258, allocations: 10.42 kB / 1.275 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-06/0.8258, allocations: 1.781 kB / 1.275 GB, free: 4.66 MB / 0.9981 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 4.359e-05/0.8259, allocations: 123.3 kB / 1.275 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/0.8259, allocations: 8.797 kB / 1.275 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.192e-05/0.8259, allocations: 15.64 kB / 1.275 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.8259, allocations: 0.9688 kB / 1.275 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.8259, allocations: 0.8438 kB / 1.275 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.8259, allocations: 4.812 kB / 1.275 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.8262, allocations: 488 kB / 1.276 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.8262, allocations: 0 / 1.276 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.699e-05/0.8262, allocations: 4.156 kB / 1.276 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.8262, allocations: 3.938 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.8262, allocations: 1.062 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.8262, allocations: 2.906 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.8262, allocations: 0 / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.408e-05/0.8263, allocations: 83.55 kB / 1.276 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.869e-05/0.8263, allocations: 85.78 kB / 1.276 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.8263, allocations: 5.062 kB / 1.276 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.928e-05/0.8263, allocations: 4.938 kB / 1.276 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.248e-06/0.8263, allocations: 3.75 kB / 1.276 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.8263, allocations: 9.312 kB / 1.276 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.983e-05/0.8264, allocations: 135.6 kB / 1.276 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.8264, allocations: 0 / 1.276 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001738/0.8266, allocations: 11.95 kB / 1.276 GB, free: 3.719 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.0002039/0.8268, allocations: 0.6196 MB / 1.277 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.107e-05/0.8269, allocations: 18.19 kB / 1.277 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.8269, allocations: 4.156 kB / 1.277 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.816e-06/0.8269, allocations: 3.938 kB / 1.277 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.827, allocations: 8.031 kB / 1.277 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009691/0.828, allocations: 1.406 MB / 1.278 GB, free: 17.84 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.8283, allocations: 0.7012 MB / 1.279 GB, free: 17.14 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.039e-05/0.8283, allocations: 8.125 kB / 1.279 GB, free: 17.14 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.073e-05/0.8283, allocations: 34.8 kB / 1.279 GB, free: 17.11 MB / 1.014 GB Notification: Performance of SimCode: time 4.01e-07/0.8283, allocations: 0 / 1.279 GB, free: 17.11 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02326/0.8516, allocations: 1.728 MB / 1.28 GB, free: 16.72 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.958/7.81, allocations: 4.906 kB / 1.28 GB, free: 16.72 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_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_degC.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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: 13.230343415998504]