Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.To_quad,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 188 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.425/1.425, allocations: 205.1 MB / 222.5 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.72/1.72, allocations: 292.3 MB / 0.549 GB, free: 12.74 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 68.47 kB / 0.6718 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2298, allocations: 114.6 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002305/0.2321, allocations: 0.8565 MB / 0.7845 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001237/0.2323, allocations: 43.78 kB / 0.7845 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.28e-05/0.2323, allocations: 0 / 0.7845 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.835e-05/0.2324, allocations: 7.875 kB / 0.7845 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.065e-05/0.2325, allocations: 7.875 kB / 0.7845 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.984e-05/0.2325, allocations: 23.97 kB / 0.7845 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.2326, allocations: 71.78 kB / 0.7846 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.2328, allocations: 45.36 kB / 0.7847 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.808e-05/0.2328, allocations: 27.81 kB / 0.7847 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.568e-05/0.2329, allocations: 31.78 kB / 0.7847 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.2329, allocations: 8 kB / 0.7847 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.582e-05/0.233, allocations: 12 kB / 0.7847 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.284e-05/0.233, allocations: 15.92 kB / 0.7848 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.963e-05/0.233, allocations: 35.75 kB / 0.7848 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.2332, allocations: 87.84 kB / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2332, allocations: 0 / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2332, allocations: 0 / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.2332, allocations: 0 / 0.7849 GB, free: 11.95 MB / 0.6075 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.0004626/0.2336, allocations: 391.1 kB / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.2337, allocations: 8.031 kB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.508e-05/0.2338, allocations: 54.67 kB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.2338, allocations: 12.75 kB / 0.7853 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.234, allocations: 188.2 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.234, allocations: 8.375 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.234, allocations: 4.375 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.2342, allocations: 99.88 kB / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.2342, allocations: 3.938 kB / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.2342, allocations: 4 kB / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.2342, allocations: 8 kB / 0.7856 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.97e-05/0.2343, allocations: 35.98 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005208/0.2349, allocations: 444.5 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.417e-05/0.2349, allocations: 37.22 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.894e-05/0.235, allocations: 21.78 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.235, allocations: 4.031 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/0.235, allocations: 34.5 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.235, allocations: 0 / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001695/0.2352, allocations: 61.47 kB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/0.2352, allocations: 81.36 kB / 0.7863 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.2354, allocations: 177.4 kB / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.2354, allocations: 25.7 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.112e-05/0.2355, allocations: 108 kB / 0.7866 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.396e-06/0.2355, allocations: 3.906 kB / 0.7866 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.493e-05/0.2355, allocations: 17.72 kB / 0.7866 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.2357, allocations: 322.8 kB / 0.7869 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.842e-05/0.2357, allocations: 4 kB / 0.7869 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.651e-05/0.2357, allocations: 25.7 kB / 0.787 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.367e-05/0.2358, allocations: 29.66 kB / 0.787 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.2358, allocations: 7.938 kB / 0.787 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.928e-05/0.2358, allocations: 53.59 kB / 0.787 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.2359, allocations: 11.94 kB / 0.7871 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.2359, allocations: 0 / 0.7871 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.2359, allocations: 0 / 0.7871 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.485e-05/0.236, allocations: 16 kB / 0.7871 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.236, allocations: 4 kB / 0.7871 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.078e-05/0.236, allocations: 3.906 kB / 0.7871 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.236, allocations: 4 kB / 0.7871 GB, free: 9.41 MB / 0.6075 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 7.24e-05/0.2361, allocations: 113.8 kB / 0.7872 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.446e-05/0.2361, allocations: 19.92 kB / 0.7872 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.463e-05/0.2362, allocations: 12.55 kB / 0.7872 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2362, allocations: 4 kB / 0.7872 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2362, allocations: 0 / 0.7872 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2362, allocations: 4 kB / 0.7872 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/0.2367, allocations: 478.8 kB / 0.7877 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2367, allocations: 0 / 0.7877 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.35e-05/0.2367, allocations: 4 kB / 0.7877 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2367, allocations: 0 / 0.7877 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.2367, allocations: 0 / 0.7877 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.2367, allocations: 7.984 kB / 0.7877 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2367, allocations: 4.062 kB / 0.7877 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.628e-05/0.2368, allocations: 89.77 kB / 0.7878 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.2369, allocations: 88.92 kB / 0.7879 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.2369, allocations: 0 / 0.7879 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.284e-05/0.2369, allocations: 0 / 0.7879 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.578e-05/0.237, allocations: 7.984 kB / 0.7879 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.237, allocations: 8.031 kB / 0.7879 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.394e-05/0.2371, allocations: 126.1 kB / 0.788 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2371, allocations: 3.938 kB / 0.788 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002441/0.2373, allocations: 8 kB / 0.788 GB, free: 8.34 MB / 0.6075 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.0003872/0.2377, allocations: 0.624 MB / 0.7886 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.769e-05/0.2378, allocations: 20 kB / 0.7886 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2378, allocations: 0 / 0.7886 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.524e-05/0.2379, allocations: 7.938 kB / 0.7887 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.238, allocations: 10.5 kB / 0.7887 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.2392, allocations: 1.382 MB / 0.79 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.2394, allocations: 0.6962 MB / 0.7907 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.705e-05/0.2395, allocations: 12.41 kB / 0.7907 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.529e-05/0.2395, allocations: 23.42 kB / 0.7907 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2395, allocations: 0 / 0.7907 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01594/0.2555, allocations: 1.667 MB / 0.7924 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.511/7.766, allocations: 7.312 kB / 0.7924 GB, free: 3.836 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1)