Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.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.CDL.Continuous.Validation.Modulo,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",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.0007378/0.0007378, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008419/0.0008419, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.281/1.281, allocations: 205.4 MB / 222.1 MB, free: 5.512 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.575/1.575, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0004977/0.0004978, allocations: 15.25 kB / 0.6738 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2106, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.0008492/0.2115, allocations: 434.7 kB / 0.7878 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009568/0.2125, allocations: 0.8595 MB / 0.7887 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.34e-05/0.2125, allocations: 0 / 0.7887 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.629e-05/0.2125, allocations: 3.938 kB / 0.7887 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.383e-05/0.2126, allocations: 3.984 kB / 0.7887 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001473/0.2128, allocations: 19.92 kB / 0.7887 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.425e-05/0.2128, allocations: 39.91 kB / 0.7887 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.082e-05/0.2129, allocations: 8 kB / 0.7887 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.009e-05/0.213, allocations: 15.92 kB / 0.7888 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.572e-05/0.213, allocations: 19.92 kB / 0.7888 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.2131, allocations: 0 / 0.7888 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.304e-05/0.2131, allocations: 4 kB / 0.7888 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.2131, allocations: 3.984 kB / 0.7888 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.242e-05/0.2131, allocations: 29.64 kB / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.505e-05/0.2132, allocations: 35.92 kB / 0.7889 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2132, allocations: 0 / 0.7889 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.163e-06/0.2132, allocations: 0 / 0.7889 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.2132, allocations: 0 / 0.7889 GB, free: 10.35 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004159/0.2136, allocations: 371.5 kB / 0.7892 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.2137, allocations: 8.031 kB / 0.7892 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.516e-05/0.2137, allocations: 30.56 kB / 0.7892 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.533e-05/0.2137, allocations: 7.906 kB / 0.7893 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.2139, allocations: 179 kB / 0.7894 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.946e-06/0.2139, allocations: 0 / 0.7894 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-06/0.2139, allocations: 4 kB / 0.7894 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.2141, allocations: 85.59 kB / 0.7895 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.2141, allocations: 3.938 kB / 0.7895 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.2142, allocations: 0 / 0.7895 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.2142, allocations: 3.938 kB / 0.7895 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002643/0.2144, allocations: 87.92 kB / 0.7896 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003063/0.2147, allocations: 268.9 kB / 0.7899 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.2149, allocations: 66.53 kB / 0.7899 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.2151, allocations: 52.86 kB / 0.79 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.2151, allocations: 0 / 0.79 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.2151, allocations: 34.56 kB / 0.79 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.2151, allocations: 0 / 0.79 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004878/0.2156, allocations: 165.5 kB / 0.7902 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.2157, allocations: 55.41 kB / 0.7902 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.185e-05/0.2158, allocations: 105.8 kB / 0.7903 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.2158, allocations: 25.7 kB / 0.7903 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.038e-05/0.2158, allocations: 88.14 kB / 0.7904 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-05/0.2158, allocations: 3.906 kB / 0.7904 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.2158, allocations: 0 / 0.7904 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.631e-05/0.2159, allocations: 322.8 kB / 0.7907 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.2161, allocations: 47.91 kB / 0.7908 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.2162, allocations: 47.95 kB / 0.7908 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.2163, allocations: 40.25 kB / 0.7909 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2164, allocations: 0 / 0.7909 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002978/0.2167, allocations: 125.5 kB / 0.791 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.2167, allocations: 4 kB / 0.791 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.2167, allocations: 3.984 kB / 0.791 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.2167, allocations: 4 kB / 0.791 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.2168, allocations: 19.98 kB / 0.791 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.2169, allocations: 0 / 0.791 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.318e-05/0.2169, allocations: 15.98 kB / 0.791 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.2169, allocations: 0 / 0.791 GB, free: 7.891 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.926e-05/0.217, allocations: 121.8 kB / 0.7911 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.2171, allocations: 3.938 kB / 0.7911 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.696e-05/0.2171, allocations: 11.89 kB / 0.7912 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.2171, allocations: 0 / 0.7912 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.2171, allocations: 0 / 0.7912 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2171, allocations: 0 / 0.7912 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.2173, allocations: 181.4 kB / 0.7913 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2173, allocations: 0 / 0.7913 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.207e-05/0.2174, allocations: 31.91 kB / 0.7914 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2174, allocations: 0 / 0.7914 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.2174, allocations: 0 / 0.7914 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2174, allocations: 3.938 kB / 0.7914 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.2174, allocations: 0 / 0.7914 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003288/0.2177, allocations: 215.4 kB / 0.7916 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.057e-05/0.2178, allocations: 81.11 kB / 0.7916 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.2178, allocations: 3.984 kB / 0.7917 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.884e-05/0.2179, allocations: 23.98 kB / 0.7917 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.2179, allocations: 0 / 0.7917 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.2179, allocations: 11.94 kB / 0.7917 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.545e-05/0.218, allocations: 83.27 kB / 0.7918 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.218, allocations: 0 / 0.7918 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000207/0.2182, allocations: 15.91 kB / 0.7918 GB, free: 7.02 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006076/0.2188, allocations: 0.7515 MB / 0.7925 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003027/0.2191, allocations: 87.92 kB / 0.7926 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2191, allocations: 3.938 kB / 0.7926 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.2193, allocations: 47.97 kB / 0.7926 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.2196, allocations: 7.984 kB / 0.7927 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00042/0.22, allocations: 157.5 kB / 0.7928 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002095/0.2202, allocations: 0.6809 MB / 0.7935 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.117e-05/0.2202, allocations: 7.984 kB / 0.7935 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.647e-05/0.2203, allocations: 11.44 kB / 0.7935 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2203, allocations: 4 kB / 0.7935 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01042/0.2307, allocations: 1.329 MB / 0.7948 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002185/0.231, allocations: 197.8 kB / 0.795 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/2.011, allocations: 0 / 0.795 GB, free: 3.738 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1) Environment - environmentSimulation: