Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.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.Modulo,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",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.0008584/0.0008584, 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.005296/0.005296, allocations: 170 kB / 16.26 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.3/1.3, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.635/1.635, allocations: 292.7 MB / 0.5502 GB, free: 14.44 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.0005227/0.0005228, allocations: 22.47 kB / 0.6744 GB, free: 25.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2019, allocations: 116.3 MB / 0.788 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.0007671/0.2027, allocations: 442.5 kB / 0.7884 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008655/0.2036, allocations: 0.8633 MB / 0.7893 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.798e-05/0.2036, allocations: 3.938 kB / 0.7893 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.442e-05/0.2036, allocations: 3.938 kB / 0.7893 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.292e-05/0.2037, allocations: 7.938 kB / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001298/0.2038, allocations: 11.98 kB / 0.7893 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.257e-05/0.2039, allocations: 43.89 kB / 0.7893 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.354e-05/0.204, allocations: 12 kB / 0.7894 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.291e-05/0.204, allocations: 15.92 kB / 0.7894 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.461e-05/0.2041, allocations: 19.92 kB / 0.7894 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.2041, allocations: 0 / 0.7894 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.633e-05/0.2041, allocations: 4 kB / 0.7894 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.196e-05/0.2041, allocations: 0 / 0.7894 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.899e-05/0.2042, allocations: 45.56 kB / 0.7894 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.47e-05/0.2043, allocations: 47.78 kB / 0.7895 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.2043, allocations: 0 / 0.7895 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2043, allocations: 0 / 0.7895 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.045e-06/0.2043, allocations: 0 / 0.7895 GB, free: 9.906 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.0004421/0.2047, allocations: 363.7 kB / 0.7898 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.2048, allocations: 12.03 kB / 0.7898 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.256e-05/0.2048, allocations: 34.75 kB / 0.7899 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.268e-05/0.2048, allocations: 8.844 kB / 0.7899 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.2049, allocations: 172.3 kB / 0.7901 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.794e-06/0.205, allocations: 384 / 0.7901 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.205, allocations: 4.375 kB / 0.7901 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/0.2052, allocations: 82.22 kB / 0.7901 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.2052, allocations: 3.938 kB / 0.7901 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.2052, allocations: 4 kB / 0.7901 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.2053, allocations: 0 / 0.7901 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003082/0.2056, allocations: 91.86 kB / 0.7902 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003089/0.2059, allocations: 268.8 kB / 0.7905 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.2061, allocations: 70.53 kB / 0.7906 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.2063, allocations: 48.91 kB / 0.7906 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.2063, allocations: 0 / 0.7906 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.2063, allocations: 42.5 kB / 0.7906 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 2.244e-06/0.2063, allocations: 0 / 0.7906 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005397/0.2069, allocations: 161.5 kB / 0.7908 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.2069, allocations: 55.34 kB / 0.7908 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.938e-05/0.207, allocations: 113.8 kB / 0.791 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.207, allocations: 25.7 kB / 0.791 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.188e-05/0.2071, allocations: 84.14 kB / 0.7911 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.2071, allocations: 11.81 kB / 0.7911 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-05/0.2071, allocations: 13.72 kB / 0.7911 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.217e-05/0.2072, allocations: 314.8 kB / 0.7914 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.2074, allocations: 43.97 kB / 0.7914 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.2075, allocations: 43.95 kB / 0.7915 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002998/0.2078, allocations: 92.67 kB / 0.7916 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2078, allocations: 4 kB / 0.7916 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003326/0.2082, allocations: 117.6 kB / 0.7917 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.2082, allocations: 12 kB / 0.7917 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-06/0.2082, allocations: 0 / 0.7917 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.666e-06/0.2082, allocations: 0 / 0.7917 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.2084, allocations: 19.98 kB / 0.7917 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.2084, allocations: 0 / 0.7917 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.613e-05/0.2085, allocations: 23.98 kB / 0.7917 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.2085, allocations: 0 / 0.7917 GB, free: 7.375 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 6.471e-05/0.2085, allocations: 117.8 kB / 0.7918 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.2086, allocations: 7.844 kB / 0.7918 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.43e-05/0.2086, allocations: 7.906 kB / 0.7919 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.2086, allocations: 4 kB / 0.7919 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.2086, allocations: 0 / 0.7919 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-06/0.2086, allocations: 0 / 0.7919 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.2088, allocations: 177.5 kB / 0.792 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2088, allocations: 3.984 kB / 0.792 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.943e-05/0.2089, allocations: 23.98 kB / 0.7921 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2089, allocations: 0 / 0.7921 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.2089, allocations: 0 / 0.7921 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2089, allocations: 0 / 0.7921 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2089, allocations: 320 / 0.7921 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003732/0.2093, allocations: 216.5 kB / 0.7923 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.03e-05/0.2094, allocations: 89.39 kB / 0.7923 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.2094, allocations: 4 kB / 0.7923 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.2095, allocations: 19.92 kB / 0.7924 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/0.2095, allocations: 3.984 kB / 0.7924 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.2096, allocations: 11.94 kB / 0.7924 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.727e-05/0.2096, allocations: 87.27 kB / 0.7925 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2096, allocations: 0 / 0.7925 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002095/0.2098, allocations: 8 kB / 0.7925 GB, free: 6.512 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.0006491/0.2105, allocations: 0.7592 MB / 0.7932 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003348/0.2108, allocations: 87.92 kB / 0.7933 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2108, allocations: 3.938 kB / 0.7933 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.211, allocations: 51.95 kB / 0.7934 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.2113, allocations: 8 kB / 0.7934 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003736/0.2116, allocations: 162.2 kB / 0.7935 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.2119, allocations: 0.6848 MB / 0.7942 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.416e-05/0.2119, allocations: 0 / 0.7942 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.09e-05/0.2119, allocations: 19.44 kB / 0.7942 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of SimCode: time 5.31e-07/0.2119, allocations: 0 / 0.7942 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01013/0.2221, allocations: 1.343 MB / 0.7955 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001553/0.2223, allocations: 204.4 kB / 0.7957 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.61/1.833, allocations: 0 / 0.7957 GB, free: 3.184 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1)