Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 2.841/2.841, allocations: 287.5 MB / 302.4 MB, free: 8.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001338/0.001337, allocations: 176.5 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.066/2.066, allocations: 205.4 MB / 0.6297 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009501/0.0009499, allocations: 88.53 kB / 0.743 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005474/0.0005475, allocations: 14.64 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2179, allocations: 115.3 MB / 0.9785 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.00095/0.219, allocations: 419 kB / 0.9789 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.2201, allocations: 0.8556 MB / 0.9797 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.097e-05/0.2201, allocations: 7.938 kB / 0.9797 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.494e-05/0.2202, allocations: 7.875 kB / 0.9797 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.954e-05/0.2203, allocations: 11.92 kB / 0.9797 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001628/0.2204, allocations: 12 kB / 0.9797 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.868e-05/0.2205, allocations: 39.84 kB / 0.9798 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.495e-05/0.2206, allocations: 7.984 kB / 0.9798 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.41e-05/0.2207, allocations: 15.98 kB / 0.9798 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.313e-05/0.2208, allocations: 15.92 kB / 0.9798 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.2208, allocations: 4 kB / 0.9798 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.445e-05/0.2208, allocations: 0 / 0.9798 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.545e-05/0.2208, allocations: 11.92 kB / 0.9798 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.741e-05/0.2209, allocations: 33.7 kB / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.505e-05/0.221, allocations: 23.94 kB / 0.9799 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.221, allocations: 0 / 0.9799 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.724e-06/0.221, allocations: 0 / 0.9799 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.221, allocations: 4 kB / 0.9799 GB, free: 26.77 MB / 0.6198 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.0005597/0.2216, allocations: 363.5 kB / 0.9802 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.2216, allocations: 16.02 kB / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.257e-05/0.2217, allocations: 30.56 kB / 0.9803 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/0.2217, allocations: 7.891 kB / 0.9803 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.2218, allocations: 174.9 kB / 0.9805 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.2219, allocations: 0 / 0.9805 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.2219, allocations: 4 kB / 0.9805 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003687/0.2223, allocations: 81.66 kB / 0.9805 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.2223, allocations: 0 / 0.9805 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.2223, allocations: 4 kB / 0.9805 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.2223, allocations: 0 / 0.9805 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005022/0.2228, allocations: 87.92 kB / 0.9806 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.2233, allocations: 268.9 kB / 0.9809 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003123/0.2236, allocations: 74.47 kB / 0.981 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002581/0.2239, allocations: 52.91 kB / 0.981 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.2239, allocations: 0 / 0.981 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.224, allocations: 30.56 kB / 0.981 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.673e-06/0.224, allocations: 4 kB / 0.981 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0008856/0.2249, allocations: 169.4 kB / 0.9812 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.2249, allocations: 51.41 kB / 0.9813 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.036e-05/0.225, allocations: 113.8 kB / 0.9814 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.225, allocations: 33.64 kB / 0.9814 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.732e-05/0.2251, allocations: 80.14 kB / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.2251, allocations: 11.89 kB / 0.9815 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-06/0.2251, allocations: 0 / 0.9815 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.487e-05/0.2252, allocations: 318.8 kB / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002485/0.2255, allocations: 39.97 kB / 0.9818 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/0.2257, allocations: 47.89 kB / 0.9819 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/0.226, allocations: 39.97 kB / 0.9819 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.226, allocations: 0 / 0.9819 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005434/0.2266, allocations: 125.5 kB / 0.982 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.2266, allocations: 4 kB / 0.982 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2266, allocations: 7.938 kB / 0.982 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.2266, allocations: 0 / 0.982 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/0.2268, allocations: 19.98 kB / 0.9821 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.2269, allocations: 0 / 0.9821 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.227, allocations: 23.94 kB / 0.9821 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.227, allocations: 8 kB / 0.9821 GB, free: 24.3 MB / 0.6198 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 7.19e-05/0.2271, allocations: 107.2 kB / 0.9822 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.476e-05/0.2272, allocations: 7.984 kB / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.385e-05/0.2272, allocations: 7.906 kB / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.2272, allocations: 0 / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2272, allocations: 0 / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2272, allocations: 0 / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.2274, allocations: 177.5 kB / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2275, allocations: 0 / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.2276, allocations: 27.97 kB / 0.9824 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.2277, allocations: 0 / 0.9824 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.2277, allocations: 0 / 0.9824 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.2277, allocations: 4 kB / 0.9824 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.2277, allocations: 0 / 0.9824 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005662/0.2283, allocations: 215.4 kB / 0.9826 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.933e-05/0.2283, allocations: 85.09 kB / 0.9827 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.2283, allocations: 4 kB / 0.9827 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.2285, allocations: 15.98 kB / 0.9827 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.609e-05/0.2286, allocations: 4 kB / 0.9827 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.639e-06/0.2286, allocations: 4 kB / 0.9827 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.277e-05/0.2287, allocations: 91.2 kB / 0.9828 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2287, allocations: 4 kB / 0.9828 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002937/0.229, allocations: 7.906 kB / 0.9828 GB, free: 23.46 MB / 0.6198 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.0008062/0.2298, allocations: 0.7567 MB / 0.9836 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005631/0.2304, allocations: 91.95 kB / 0.9836 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2304, allocations: 0 / 0.9836 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000269/0.2307, allocations: 51.95 kB / 0.9837 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.2311, allocations: 13.83 kB / 0.9837 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005263/0.2316, allocations: 150.4 kB / 0.9838 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.2317, allocations: 0.6887 MB / 0.9845 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.583e-05/0.2318, allocations: 0 / 0.9845 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.346e-05/0.2319, allocations: 23.31 kB / 0.9845 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of SimCode: time 1.293e-06/0.2319, allocations: 0 / 0.9845 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01847/0.2503, allocations: 1.331 MB / 0.9858 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/0.2506, allocations: 187.6 kB / 0.986 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.383/2.633, allocations: 0 / 0.986 GB, free: 20.18 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1)