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.Exp.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.Exp,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp",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.448/1.448, 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.001095/0.001095, allocations: 179.9 kB / 326.5 MB, free: 2.219 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.796/1.796, allocations: 205.4 MB / 0.5775 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.000987/0.000987, allocations: 90.36 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003643, allocations: 16.97 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2748, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp): time 0.001501/0.2763, allocations: 1.085 MB / 0.9012 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003666/0.2767, allocations: 109.9 kB / 0.9013 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.622e-05/0.2768, allocations: 0 / 0.9013 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.822e-05/0.2768, allocations: 4 kB / 0.9013 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.535e-05/0.2769, allocations: 11.91 kB / 0.9014 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001516/0.277, allocations: 4 kB / 0.9014 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.133e-05/0.2771, allocations: 8 kB / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.2772, allocations: 15.97 kB / 0.9014 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.304e-05/0.2773, allocations: 8 kB / 0.9014 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.292e-05/0.2774, allocations: 7.922 kB / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.2774, allocations: 4 kB / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.373e-05/0.2774, allocations: 0 / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.29e-05/0.2774, allocations: 7.938 kB / 0.9014 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.486e-05/0.2775, allocations: 25.7 kB / 0.9014 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.418e-05/0.2775, allocations: 11.97 kB / 0.9014 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2775, allocations: 0 / 0.9014 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.675e-06/0.2775, allocations: 0 / 0.9014 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.2776, allocations: 0 / 0.9014 GB, free: 62.48 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004756/0.278, allocations: 339.4 kB / 0.9018 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.2781, allocations: 12.03 kB / 0.9018 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.882e-05/0.2781, allocations: 34.5 kB / 0.9018 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.411e-05/0.2782, allocations: 0 / 0.9018 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.2783, allocations: 175.2 kB / 0.902 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.2783, allocations: 0 / 0.902 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/0.2783, allocations: 0 / 0.902 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.2785, allocations: 57.67 kB / 0.902 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.2785, allocations: 0 / 0.902 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.2785, allocations: 0 / 0.902 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.2785, allocations: 0 / 0.902 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001629/0.2787, allocations: 43.97 kB / 0.9021 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003005/0.279, allocations: 260.8 kB / 0.9023 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.2792, allocations: 38.56 kB / 0.9024 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.2792, allocations: 4 kB / 0.9024 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.41e-05/0.2792, allocations: 34.56 kB / 0.9024 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.2792, allocations: 0 / 0.9024 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003467/0.2796, allocations: 101.7 kB / 0.9025 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.2796, allocations: 51.41 kB / 0.9025 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.271e-05/0.2797, allocations: 101.8 kB / 0.9026 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.867e-06/0.2797, allocations: 29.64 kB / 0.9027 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.043e-05/0.2797, allocations: 80.14 kB / 0.9027 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.2797, allocations: 15.89 kB / 0.9028 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-06/0.2797, allocations: 0 / 0.9028 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.263e-05/0.2798, allocations: 318.8 kB / 0.9031 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.786e-05/0.2799, allocations: 19.97 kB / 0.9031 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.854e-05/0.28, allocations: 23.98 kB / 0.9031 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.7e-05/0.28, allocations: 24.05 kB / 0.9031 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2801, allocations: 0 / 0.9031 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001757/0.2802, allocations: 81.59 kB / 0.9032 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.2803, allocations: 7.938 kB / 0.9032 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2803, allocations: 4.031 kB / 0.9032 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.2803, allocations: 0 / 0.9032 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.43e-05/0.2804, allocations: 15.98 kB / 0.9032 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.2804, allocations: 0 / 0.9032 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.593e-05/0.2804, allocations: 8 kB / 0.9032 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.2805, allocations: 192 / 0.9032 GB, free: 60.42 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 (2): * Single equations (assignments): 2 * 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 4.984e-05/0.2805, allocations: 113.8 kB / 0.9034 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.126e-05/0.2805, allocations: 11.89 kB / 0.9034 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002403/0.2808, allocations: 84.77 kB / 0.9034 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2808, allocations: 0 / 0.9034 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2808, allocations: 0 / 0.9034 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2808, allocations: 0 / 0.9034 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.2809, allocations: 161.7 kB / 0.9036 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2809, allocations: 0 / 0.9036 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.488e-05/0.281, allocations: 15.92 kB / 0.9036 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.281, allocations: 4 kB / 0.9036 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.281, allocations: 0 / 0.9036 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.281, allocations: 0 / 0.9036 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.281, allocations: 0 / 0.9036 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.2812, allocations: 175.5 kB / 0.9038 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.848e-05/0.2813, allocations: 77.11 kB / 0.9039 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.2813, allocations: 7.984 kB / 0.9039 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.056e-05/0.2814, allocations: 4.031 kB / 0.9039 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/0.2814, allocations: 8 kB / 0.9039 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.2814, allocations: 3.984 kB / 0.9039 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.381e-05/0.2814, allocations: 83.28 kB / 0.904 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2815, allocations: 0 / 0.904 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001971/0.2817, allocations: 0 / 0.904 GB, free: 59.58 MB / 0.6042 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 (2): * Single equations (assignments): 2 * 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.0004174/0.2821, allocations: 0.7138 MB / 0.9047 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001913/0.2823, allocations: 51.92 kB / 0.9047 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2823, allocations: 0 / 0.9047 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8e-05/0.2824, allocations: 23.92 kB / 0.9047 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.2826, allocations: 11.94 kB / 0.9047 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004078/0.283, allocations: 154.3 kB / 0.9049 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.2832, allocations: 0.677 MB / 0.9055 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.46e-05/0.2832, allocations: 4 kB / 0.9056 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/0.2833, allocations: 7.438 kB / 0.9056 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.2833, allocations: 0 / 0.9056 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01361/0.2969, allocations: 0.9846 MB / 0.9065 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.2971, allocations: 198.9 kB / 0.9067 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.641/1.938, allocations: 0 / 0.9067 GB, free: 56.77 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe 2>&1)