Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.469/1.469, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 180.6 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.929/1.929, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009166/0.0009166, allocations: 93.16 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003282/0.0003282, allocations: 12.91 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2265, allocations: 106.4 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.001474/0.228, allocations: 1.136 MB / 0.9013 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003606/0.2284, allocations: 205.6 kB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.988e-05/0.2285, allocations: 0 / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.437e-05/0.2285, allocations: 0 / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000192/0.2287, allocations: 15.97 kB / 0.9015 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 8.937e-05/0.2288, allocations: 19.92 kB / 0.9015 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.737e-05/0.2289, allocations: 31.95 kB / 0.9015 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.082e-05/0.229, allocations: 4 kB / 0.9016 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.063e-05/0.229, allocations: 19.92 kB / 0.9016 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.677e-05/0.2291, allocations: 15.92 kB / 0.9016 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.2291, allocations: 4 kB / 0.9016 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.312e-05/0.2291, allocations: 0 / 0.9016 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.599e-05/0.2292, allocations: 11.92 kB / 0.9016 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.436e-05/0.2292, allocations: 29.7 kB / 0.9016 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.566e-05/0.2293, allocations: 35.92 kB / 0.9017 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.2293, allocations: 0 / 0.9017 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2293, allocations: 3.938 kB / 0.9017 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.2293, allocations: 0 / 0.9017 GB, free: 62.25 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004222/0.2297, allocations: 359.5 kB / 0.902 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.2298, allocations: 12.03 kB / 0.902 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.192e-05/0.2298, allocations: 38.55 kB / 0.9021 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.264e-05/0.2298, allocations: 4 kB / 0.9021 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.23, allocations: 182.9 kB / 0.9022 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.59e-06/0.23, allocations: 0 / 0.9022 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.23, allocations: 0 / 0.9022 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.2302, allocations: 65.67 kB / 0.9023 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.2302, allocations: 0 / 0.9023 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.2302, allocations: 0 / 0.9023 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.2302, allocations: 4 kB / 0.9023 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.2304, allocations: 51.95 kB / 0.9024 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004117/0.2308, allocations: 292.8 kB / 0.9026 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/0.2311, allocations: 66.55 kB / 0.9027 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.2311, allocations: 0 / 0.9027 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.419e-05/0.2312, allocations: 30.56 kB / 0.9027 GB, free: 61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.2312, allocations: 4 kB / 0.9027 GB, free: 61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0003658/0.2315, allocations: 125.6 kB / 0.9028 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.306e-05/0.2316, allocations: 55.41 kB / 0.9029 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.32e-05/0.2316, allocations: 117.7 kB / 0.903 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.2317, allocations: 25.7 kB / 0.903 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.561e-05/0.2317, allocations: 88.14 kB / 0.9031 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.2317, allocations: 15.8 kB / 0.9031 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.2317, allocations: 0 / 0.9031 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.096e-05/0.2318, allocations: 318.8 kB / 0.9034 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.2319, allocations: 31.98 kB / 0.9035 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.451e-05/0.232, allocations: 31.97 kB / 0.9035 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.211e-05/0.2321, allocations: 28.11 kB / 0.9035 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.2321, allocations: 0 / 0.9035 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002076/0.2324, allocations: 105.6 kB / 0.9036 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.2324, allocations: 8 kB / 0.9036 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.2324, allocations: 0 / 0.9036 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.2324, allocations: 3.938 kB / 0.9036 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.64e-05/0.2325, allocations: 15.98 kB / 0.9037 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.2325, allocations: 0 / 0.9037 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.077e-05/0.2326, allocations: 23.84 kB / 0.9037 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.2326, allocations: 0 / 0.9037 GB, free: 59.97 MB / 0.6042 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 (5): * Single equations (assignments): 5 * 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 5.519e-05/0.2327, allocations: 109.8 kB / 0.9038 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.145e-05/0.2327, allocations: 4 kB / 0.9038 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002414/0.2329, allocations: 105.5 kB / 0.9039 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.2329, allocations: 240 / 0.9039 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.233, allocations: 0 / 0.9039 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.233, allocations: 0 / 0.9039 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.2331, allocations: 181.5 kB / 0.9041 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2331, allocations: 4 kB / 0.9041 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.509e-05/0.2332, allocations: 11.98 kB / 0.9041 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.2332, allocations: 0 / 0.9041 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.2332, allocations: 8 kB / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2332, allocations: 0 / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2332, allocations: 0 / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003302/0.2336, allocations: 227.3 kB / 0.9043 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.091e-05/0.2336, allocations: 81.02 kB / 0.9044 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.2336, allocations: 8.391 kB / 0.9044 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.22e-05/0.2337, allocations: 8 kB / 0.9044 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.2338, allocations: 11.92 kB / 0.9044 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.2338, allocations: 0 / 0.9044 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.22e-05/0.2338, allocations: 95.28 kB / 0.9045 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2338, allocations: 0 / 0.9045 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000212/0.2341, allocations: 4 kB / 0.9045 GB, free: 59.02 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der1.x) * 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 (4): * Single equations (assignments): 4 * 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.0005011/0.2346, allocations: 0.7554 MB / 0.9052 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002409/0.2348, allocations: 71.95 kB / 0.9053 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2348, allocations: 0 / 0.9053 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.24e-05/0.2349, allocations: 31.98 kB / 0.9053 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.2351, allocations: 4 kB / 0.9053 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008336/0.236, allocations: 0.522 MB / 0.9058 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.2361, allocations: 0.6887 MB / 0.9065 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.161e-05/0.2362, allocations: 256 / 0.9065 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.206e-05/0.2362, allocations: 15.44 kB / 0.9065 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/0.2362, allocations: 0 / 0.9065 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01058/0.2468, allocations: 1.382 MB / 0.9079 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000151/0.247, allocations: 199.9 kB / 0.9081 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.598/1.845, allocations: 0 / 0.9081 GB, free: 55.38 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1)