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.435/1.435, allocations: 252 MB / 267 MB, free: 10.97 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.0009592/0.0009593, allocations: 174.2 kB / 326.6 MB, free: 2.223 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.753/1.753, allocations: 205.4 MB / 0.5777 GB, free: 20.26 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.0008395/0.0008395, allocations: 82.31 kB / 0.6822 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003721/0.0003722, allocations: 13.69 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2529, allocations: 106.3 MB / 0.9003 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.001826/0.2548, allocations: 1.129 MB / 0.9014 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000498/0.2553, allocations: 216.3 kB / 0.9016 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.975e-05/0.2554, allocations: 0 / 0.9016 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.779e-05/0.2555, allocations: 0 / 0.9016 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.2557, allocations: 11.94 kB / 0.9016 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001329/0.2559, allocations: 23.91 kB / 0.9017 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.256, allocations: 43.84 kB / 0.9017 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.2561, allocations: 8 kB / 0.9017 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.816e-05/0.2562, allocations: 23.92 kB / 0.9017 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.05e-05/0.2563, allocations: 11.92 kB / 0.9018 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.2563, allocations: 7.938 kB / 0.9018 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.157e-05/0.2563, allocations: 0 / 0.9018 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.2563, allocations: 11.97 kB / 0.9018 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.358e-05/0.2564, allocations: 29.7 kB / 0.9018 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.068e-05/0.2565, allocations: 27.94 kB / 0.9018 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.2565, allocations: 0 / 0.9018 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.256e-06/0.2565, allocations: 0 / 0.9018 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.2565, allocations: 0 / 0.9018 GB, free: 62.21 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.0005372/0.257, allocations: 359.5 kB / 0.9022 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.2571, allocations: 12.03 kB / 0.9022 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.457e-05/0.2572, allocations: 38.5 kB / 0.9022 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.2572, allocations: 7.938 kB / 0.9022 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.2574, allocations: 174.9 kB / 0.9024 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.2574, allocations: 0 / 0.9024 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.2574, allocations: 8 kB / 0.9024 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.2576, allocations: 73.66 kB / 0.9025 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.2577, allocations: 0 / 0.9025 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.2577, allocations: 0 / 0.9025 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.2577, allocations: 0 / 0.9025 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001878/0.2579, allocations: 51.91 kB / 0.9025 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004379/0.2583, allocations: 288.8 kB / 0.9028 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002865/0.2586, allocations: 74.59 kB / 0.9029 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.2587, allocations: 28.84 kB / 0.9029 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.2588, allocations: 4 kB / 0.9029 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.2588, allocations: 30.56 kB / 0.9029 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.2588, allocations: 3.938 kB / 0.9029 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0003972/0.2592, allocations: 125.7 kB / 0.9031 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.2592, allocations: 51.41 kB / 0.9031 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.873e-05/0.2593, allocations: 121.8 kB / 0.9032 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.2593, allocations: 25.7 kB / 0.9032 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.202e-05/0.2594, allocations: 92.06 kB / 0.9033 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.2594, allocations: 15.8 kB / 0.9033 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/0.2594, allocations: 0 / 0.9033 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.95e-05/0.2595, allocations: 314.8 kB / 0.9036 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.2597, allocations: 31.97 kB / 0.9037 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.438e-05/0.2598, allocations: 27.98 kB / 0.9037 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.717e-05/0.2599, allocations: 35.92 kB / 0.9037 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2599, allocations: 0 / 0.9037 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002248/0.2601, allocations: 97.66 kB / 0.9038 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.2601, allocations: 4.375 kB / 0.9038 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.2601, allocations: 0 / 0.9038 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.2602, allocations: 0 / 0.9038 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.483e-05/0.2603, allocations: 15.98 kB / 0.9038 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.2603, allocations: 7.938 kB / 0.9039 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.955e-05/0.2604, allocations: 23.84 kB / 0.9039 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.2604, allocations: 4 kB / 0.9039 GB, free: 59.88 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 7.19e-05/0.2605, allocations: 105.8 kB / 0.904 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.2605, allocations: 4 kB / 0.904 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002754/0.2608, allocations: 105.5 kB / 0.9041 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.2608, allocations: 4 kB / 0.9041 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.2608, allocations: 0 / 0.9041 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.2608, allocations: 0 / 0.9041 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.261, allocations: 177.5 kB / 0.9043 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.261, allocations: 0 / 0.9043 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.99e-05/0.2611, allocations: 12 kB / 0.9043 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.2611, allocations: 0 / 0.9043 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.2611, allocations: 8.172 kB / 0.9043 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.2611, allocations: 4 kB / 0.9043 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2611, allocations: 4 kB / 0.9043 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003957/0.2615, allocations: 227.3 kB / 0.9045 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.961e-05/0.2615, allocations: 85 kB / 0.9046 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.2616, allocations: 0 / 0.9046 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.565e-05/0.2617, allocations: 8.031 kB / 0.9046 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/0.2617, allocations: 3.984 kB / 0.9046 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.2617, allocations: 4 kB / 0.9046 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.125e-05/0.2618, allocations: 87.33 kB / 0.9047 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2618, allocations: 7.938 kB / 0.9047 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002121/0.262, allocations: 8 kB / 0.9047 GB, free: 58.93 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.0006193/0.2626, allocations: 0.7593 MB / 0.9054 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002503/0.2629, allocations: 64.02 kB / 0.9055 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2629, allocations: 0 / 0.9055 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.617e-05/0.263, allocations: 27.98 kB / 0.9055 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.2633, allocations: 18.83 kB / 0.9055 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008891/0.2642, allocations: 0.525 MB / 0.9061 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/0.2644, allocations: 0.6887 MB / 0.9067 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.37e-05/0.2644, allocations: 4.188 kB / 0.9067 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.34e-05/0.2645, allocations: 15.44 kB / 0.9068 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of SimCode: time 2.71e-07/0.2645, allocations: 0 / 0.9068 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01349/0.278, allocations: 1.38 MB / 0.9081 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002054/0.2782, allocations: 203.5 kB / 0.9083 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/2.057, allocations: 1.562 kB / 0.9083 GB, free: 55.29 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)