Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.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.Sin,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin",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.0007565/0.0007565, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006038/0.006038, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.317/1.317, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.629/1.629, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005026/0.0005027, allocations: 19.83 kB / 0.6744 GB, free: 25.66 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2029, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.0008408/0.2037, allocations: 402.7 kB / 0.7884 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009046/0.2047, allocations: 0.8088 MB / 0.7892 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.866e-05/0.2047, allocations: 0 / 0.7892 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.757e-05/0.2047, allocations: 0 / 0.7892 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.498e-05/0.2048, allocations: 3.938 kB / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000148/0.205, allocations: 11.98 kB / 0.7892 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.783e-05/0.205, allocations: 23.88 kB / 0.7892 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.85e-05/0.2052, allocations: 11.98 kB / 0.7892 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.341e-05/0.2052, allocations: 11.98 kB / 0.7892 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.214e-05/0.2053, allocations: 11.92 kB / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.2053, allocations: 4 kB / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.557e-06/0.2053, allocations: 0 / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.2053, allocations: 0 / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.093e-05/0.2054, allocations: 33.64 kB / 0.7893 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.203e-05/0.2055, allocations: 19.95 kB / 0.7893 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.2055, allocations: 4 kB / 0.7893 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2055, allocations: 0 / 0.7893 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.389e-06/0.2055, allocations: 0 / 0.7893 GB, free: 10.1 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004003/0.2059, allocations: 343.7 kB / 0.7896 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.2059, allocations: 11.97 kB / 0.7897 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.309e-05/0.206, allocations: 30.75 kB / 0.7897 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.208e-05/0.206, allocations: 4.938 kB / 0.7897 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.89e-05/0.2061, allocations: 164.4 kB / 0.7898 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.2061, allocations: 384 / 0.7898 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.2061, allocations: 384 / 0.7898 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.2063, allocations: 62.17 kB / 0.7899 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.2064, allocations: 7.938 kB / 0.7899 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.2064, allocations: 0 / 0.7899 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.2064, allocations: 0 / 0.7899 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001734/0.2066, allocations: 43.95 kB / 0.79 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002961/0.2069, allocations: 245 kB / 0.7902 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.207, allocations: 50.42 kB / 0.7902 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.174e-05/0.2071, allocations: 28.91 kB / 0.7903 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.182e-05/0.2071, allocations: 3.984 kB / 0.7903 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.2072, allocations: 34.56 kB / 0.7903 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.2072, allocations: 0 / 0.7903 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0004034/0.2076, allocations: 101.5 kB / 0.7904 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.2076, allocations: 51.41 kB / 0.7904 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.332e-05/0.2077, allocations: 97.86 kB / 0.7905 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.2077, allocations: 29.64 kB / 0.7906 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.828e-05/0.2078, allocations: 84.12 kB / 0.7906 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.2079, allocations: 15.97 kB / 0.7907 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.252e-05/0.2079, allocations: 13.72 kB / 0.7907 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.208, allocations: 310.8 kB / 0.791 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.595e-05/0.2081, allocations: 23.98 kB / 0.791 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.547e-05/0.2082, allocations: 19.97 kB / 0.791 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.2083, allocations: 48.89 kB / 0.7911 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.2083, allocations: 3.938 kB / 0.7911 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002028/0.2086, allocations: 81.66 kB / 0.7911 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.2086, allocations: 4 kB / 0.7911 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2086, allocations: 0 / 0.7911 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.2086, allocations: 192 / 0.7911 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.158e-05/0.2087, allocations: 15.92 kB / 0.7912 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.2087, allocations: 0 / 0.7912 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.337e-05/0.2088, allocations: 16.03 kB / 0.7912 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.2088, allocations: 3.938 kB / 0.7912 GB, free: 7.949 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 (2): * Single equations (assignments): 2 * 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 6.738e-05/0.2089, allocations: 109.8 kB / 0.7913 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.2089, allocations: 11.97 kB / 0.7913 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002299/0.2091, allocations: 84.78 kB / 0.7914 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.2091, allocations: 0 / 0.7914 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2092, allocations: 0 / 0.7914 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.2092, allocations: 0 / 0.7914 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.2093, allocations: 161.5 kB / 0.7915 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2093, allocations: 0 / 0.7915 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.93e-05/0.2094, allocations: 11.98 kB / 0.7915 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.2094, allocations: 0 / 0.7915 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.2094, allocations: 15.97 kB / 0.7916 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2094, allocations: 0 / 0.7916 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.2094, allocations: 3.984 kB / 0.7916 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.2097, allocations: 179.4 kB / 0.7917 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.236e-05/0.2097, allocations: 77.11 kB / 0.7918 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.2097, allocations: 7.984 kB / 0.7918 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.312e-05/0.2098, allocations: 4 kB / 0.7918 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/0.2098, allocations: 0 / 0.7918 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.2098, allocations: 7.984 kB / 0.7918 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.465e-05/0.2099, allocations: 75.28 kB / 0.7919 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2099, allocations: 0 / 0.7919 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002055/0.2101, allocations: 8.031 kB / 0.7919 GB, free: 7.102 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 (2): * Single equations (assignments): 2 * 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.0005138/0.2106, allocations: 0.7085 MB / 0.7926 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002003/0.2108, allocations: 51.95 kB / 0.7926 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2108, allocations: 0 / 0.7926 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.904e-05/0.2109, allocations: 27.98 kB / 0.7927 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.2112, allocations: 6.953 kB / 0.7927 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003567/0.2116, allocations: 146.2 kB / 0.7928 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/0.2118, allocations: 0.6808 MB / 0.7935 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.176e-05/0.2118, allocations: 4.062 kB / 0.7935 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.069e-05/0.2119, allocations: 7.438 kB / 0.7935 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.2119, allocations: 0 / 0.7935 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009653/0.2215, allocations: 1.012 MB / 0.7945 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001714/0.2217, allocations: 201.9 kB / 0.7947 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.549/1.771, allocations: 0 / 0.7947 GB, free: 4.238 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1)