Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.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.Product,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Product",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Product,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Product",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.001166/0.001166, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 187.9 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.613/1.613, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.769/1.769, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001591/0.001591, allocations: 71.3 kB / 0.6718 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2961, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Product): time 0.002375/0.2986, allocations: 0.7047 MB / 0.7843 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.2996, allocations: 0.8087 MB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.038e-05/0.2997, allocations: 0 / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.445e-05/0.2997, allocations: 0 / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.149e-05/0.2998, allocations: 15.81 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.767e-05/0.2999, allocations: 7.984 kB / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.786e-05/0.3, allocations: 47.91 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.3001, allocations: 4 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.751e-05/0.3002, allocations: 27.91 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.527e-05/0.3002, allocations: 15.92 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.3003, allocations: 4 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.067e-05/0.3003, allocations: 4 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.817e-05/0.3003, allocations: 7.984 kB / 0.7853 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.642e-05/0.3003, allocations: 19.88 kB / 0.7853 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.636e-05/0.3004, allocations: 39.86 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3004, allocations: 7.938 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.936e-06/0.3005, allocations: 0 / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.3005, allocations: 0 / 0.7853 GB, free: 11.52 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.0005539/0.301, allocations: 359.6 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.3011, allocations: 12.03 kB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.805e-05/0.3011, allocations: 30.75 kB / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.3012, allocations: 8.938 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.3013, allocations: 180.2 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.3013, allocations: 384 / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.3013, allocations: 4.375 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002368/0.3016, allocations: 66.22 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.3016, allocations: 3.938 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.3016, allocations: 3.984 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.3016, allocations: 4 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002726/0.3019, allocations: 67.86 kB / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003848/0.3023, allocations: 268.9 kB / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.3025, allocations: 46.55 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.3027, allocations: 44.91 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.3027, allocations: 7.938 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.3027, allocations: 34.5 kB / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.3027, allocations: 4 kB / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005158/0.3032, allocations: 133.5 kB / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.3033, allocations: 51.41 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.994e-05/0.3034, allocations: 109.8 kB / 0.7867 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.3034, allocations: 25.7 kB / 0.7867 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.744e-05/0.3035, allocations: 92.08 kB / 0.7868 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.3035, allocations: 3.906 kB / 0.7868 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.3035, allocations: 17.72 kB / 0.7868 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.3037, allocations: 318.8 kB / 0.7871 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.3038, allocations: 27.97 kB / 0.7872 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.3039, allocations: 35.95 kB / 0.7872 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.3042, allocations: 76.67 kB / 0.7873 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3042, allocations: 4 kB / 0.7873 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002872/0.3045, allocations: 97.52 kB / 0.7874 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.3045, allocations: 8 kB / 0.7874 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.3045, allocations: 0 / 0.7874 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.3045, allocations: 0 / 0.7874 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.3047, allocations: 15.98 kB / 0.7874 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3047, allocations: 4 kB / 0.7874 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.064e-05/0.3048, allocations: 11.98 kB / 0.7874 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.3048, allocations: 4 kB / 0.7874 GB, free: 9.141 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.32e-05/0.3049, allocations: 109.8 kB / 0.7875 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.904e-05/0.3049, allocations: 7.984 kB / 0.7875 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.563e-05/0.3049, allocations: 11.84 kB / 0.7875 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3049, allocations: 0 / 0.7875 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.305, allocations: 0 / 0.7875 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.305, allocations: 4 kB / 0.7875 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.3051, allocations: 173.5 kB / 0.7877 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3052, allocations: 0 / 0.7877 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.786e-05/0.3053, allocations: 19.97 kB / 0.7877 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3053, allocations: 0 / 0.7877 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.3053, allocations: 0 / 0.7877 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3053, allocations: 0 / 0.7877 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.3053, allocations: 0 / 0.7877 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003466/0.3056, allocations: 207.6 kB / 0.7879 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.369e-05/0.3057, allocations: 81.11 kB / 0.788 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.3057, allocations: 3.984 kB / 0.788 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.863e-05/0.3058, allocations: 11.98 kB / 0.788 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/0.3059, allocations: 0 / 0.788 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.3059, allocations: 4 kB / 0.788 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.244e-05/0.3059, allocations: 95.2 kB / 0.7881 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3059, allocations: 0 / 0.7881 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002172/0.3062, allocations: 8 kB / 0.7881 GB, free: 8.32 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007611/0.3069, allocations: 0.7318 MB / 0.7888 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003462/0.3073, allocations: 67.92 kB / 0.7889 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3073, allocations: 7.875 kB / 0.7889 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.3075, allocations: 39.97 kB / 0.7889 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004133/0.3079, allocations: 11.98 kB / 0.7889 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005401/0.3084, allocations: 147.1 kB / 0.7891 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.3088, allocations: 0.6807 MB / 0.7898 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.194e-05/0.3088, allocations: 3.984 kB / 0.7898 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.825e-05/0.3089, allocations: 15.44 kB / 0.7898 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.3089, allocations: 0 / 0.7898 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01986/0.3288, allocations: 1.617 MB / 0.7914 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.54/7.869, allocations: 6.938 kB / 0.7914 GB, free: 5 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Product_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Product.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe 2>&1)