Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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.001833/0.001833, allocations: 113.9 kB / 17.6 MB, free: 4.668 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.002252/0.002252, allocations: 190.8 kB / 20.78 MB, free: 1.5 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.48/1.48, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] 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.799/2.799, allocations: 476.7 MB / 0.7629 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 176] 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_gal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002312/0.002312, allocations: 71.88 kB / 1.107 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.262/1.264, allocations: 168.7 MB / 1.272 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002459/1.267, allocations: 0.8386 MB / 1.272 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001111/1.267, allocations: 41.66 kB / 1.272 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.125e-05/1.267, allocations: 1.156 kB / 1.272 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.156e-05/1.267, allocations: 9.141 kB / 1.272 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.891e-05/1.267, allocations: 14.59 kB / 1.272 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.775e-05/1.267, allocations: 16.09 kB / 1.272 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001252/1.267, allocations: 62.8 kB / 1.272 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/1.267, allocations: 36.06 kB / 1.273 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.068e-05/1.267, allocations: 34.59 kB / 1.273 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.653e-05/1.268, allocations: 25.94 kB / 1.273 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/1.268, allocations: 9.562 kB / 1.273 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.314e-05/1.268, allocations: 6.156 kB / 1.273 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.901e-05/1.268, allocations: 17.02 kB / 1.273 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.852e-05/1.268, allocations: 28.66 kB / 1.273 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000158/1.268, allocations: 81.47 kB / 1.273 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/1.268, allocations: 0 / 1.273 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.993e-06/1.268, allocations: 0 / 1.273 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.302e-06/1.268, allocations: 0 / 1.273 GB, free: 6.953 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000406/1.268, allocations: 380.2 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/1.268, allocations: 14.5 kB / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.511e-05/1.268, allocations: 39.19 kB / 1.273 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.152e-05/1.268, allocations: 13.73 kB / 1.273 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/1.269, allocations: 196.2 kB / 1.273 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/1.269, allocations: 3.875 kB / 1.273 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/1.269, allocations: 8.906 kB / 1.273 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/1.269, allocations: 97.06 kB / 1.273 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/1.269, allocations: 3.938 kB / 1.273 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/1.269, allocations: 5.469 kB / 1.273 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/1.269, allocations: 1.625 kB / 1.273 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.971e-05/1.269, allocations: 40.14 kB / 1.273 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006257/1.269, allocations: 434.3 kB / 1.274 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.645e-05/1.27, allocations: 41.42 kB / 1.274 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.14e-05/1.27, allocations: 20.62 kB / 1.274 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.116e-06/1.27, allocations: 0.8125 kB / 1.274 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/1.27, allocations: 32.05 kB / 1.274 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/1.27, allocations: 4.812 kB / 1.274 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001938/1.27, allocations: 56.16 kB / 1.274 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/1.27, allocations: 83.69 kB / 1.274 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/1.27, allocations: 153.8 kB / 1.274 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/1.27, allocations: 25.7 kB / 1.274 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.488e-05/1.27, allocations: 112.2 kB / 1.274 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.203e-05/1.27, allocations: 6.25 kB / 1.274 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.965e-05/1.27, allocations: 17.98 kB / 1.274 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001003/1.27, allocations: 324 kB / 1.275 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.961e-05/1.27, allocations: 4.109 kB / 1.275 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.439e-05/1.27, allocations: 20.2 kB / 1.275 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.436e-05/1.27, allocations: 27.36 kB / 1.275 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.27, allocations: 0 / 1.275 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.436e-05/1.271, allocations: 65.62 kB / 1.275 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/1.271, allocations: 8.781 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/1.271, allocations: 9.5 kB / 1.275 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/1.271, allocations: 4.531 kB / 1.275 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.305e-05/1.271, allocations: 6.5 kB / 1.275 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/1.271, allocations: 1 kB / 1.275 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.193e-05/1.271, allocations: 8.188 kB / 1.275 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/1.271, allocations: 1.875 kB / 1.275 GB, free: 4.82 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 6.594e-05/1.271, allocations: 113.1 kB / 1.275 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.657e-05/1.271, allocations: 20.44 kB / 1.275 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.384e-05/1.271, allocations: 18.02 kB / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/1.271, allocations: 0.9688 kB / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/1.271, allocations: 0.875 kB / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/1.271, allocations: 0.75 kB / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000338/1.271, allocations: 466.1 kB / 1.275 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/1.271, allocations: 0.9688 kB / 1.275 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.827e-05/1.271, allocations: 6.406 kB / 1.275 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/1.271, allocations: 1.094 kB / 1.275 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/1.271, allocations: 1.031 kB / 1.275 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/1.271, allocations: 1.062 kB / 1.275 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.271, allocations: 4.031 kB / 1.275 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.254e-05/1.271, allocations: 85.14 kB / 1.276 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.669e-05/1.271, allocations: 91.42 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/1.271, allocations: 0.75 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.91e-05/1.271, allocations: 0.8125 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.546e-05/1.271, allocations: 2.844 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/1.271, allocations: 1.281 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.542e-05/1.271, allocations: 123.2 kB / 1.276 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.271, allocations: 0 / 1.276 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001977/1.272, allocations: 10.09 kB / 1.276 GB, free: 3.902 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.0003361/1.272, allocations: 0.6183 MB / 1.276 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001063/1.272, allocations: 18.72 kB / 1.276 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.272, allocations: 0 / 1.276 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.36e-05/1.272, allocations: 5.266 kB / 1.276 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/1.272, allocations: 17.08 kB / 1.276 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/1.274, allocations: 1.34 MB / 1.278 GB, free: 18.04 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004219/1.274, allocations: 0.6934 MB / 1.278 GB, free: 17.34 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.768e-05/1.274, allocations: 10.78 kB / 1.278 GB, free: 17.34 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.255e-05/1.274, allocations: 30.42 kB / 1.278 GB, free: 17.32 MB / 1.014 GB Notification: Performance of SimCode: time 5.41e-07/1.274, allocations: 3.938 kB / 1.278 GB, free: 17.31 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02582/1.3, allocations: 1.561 MB / 1.28 GB, free: 16.94 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.88/9.18, allocations: 8.562 kB / 1.28 GB, free: 16.93 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_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_gal.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.467533743008971] Failed to read output from testmodel.py, exit status != 0: 9.245719676982844 9.262461069 7.991871487 Calling exit ...