Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 1.456/1.456, allocations: 287.4 MB / 302.5 MB, free: 8.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008617/0.0008618, allocations: 185 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.168/1.168, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006701/0.00067, allocations: 96.41 kB / 0.7431 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003114/0.0003115, allocations: 14.22 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1497, allocations: 115.3 MB / 0.9788 GB, free: 28.06 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.0006176/0.1504, allocations: 391 kB / 0.9791 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006019/0.151, allocations: 0.801 MB / 0.9799 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.324e-05/0.151, allocations: 0 / 0.9799 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.004e-05/0.1511, allocations: 0 / 0.9799 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.091e-05/0.1511, allocations: 7.938 kB / 0.9799 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 9.648e-05/0.1512, allocations: 0 / 0.9799 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.479e-05/0.1513, allocations: 23.92 kB / 0.9799 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.434e-05/0.1513, allocations: 8 kB / 0.98 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.136e-05/0.1514, allocations: 15.97 kB / 0.98 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.734e-05/0.1514, allocations: 3.938 kB / 0.98 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.1514, allocations: 4 kB / 0.98 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.824e-06/0.1515, allocations: 0 / 0.98 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.077e-06/0.1515, allocations: 7.922 kB / 0.98 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.638e-05/0.1515, allocations: 33.7 kB / 0.98 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 3.886e-05/0.1515, allocations: 11.97 kB / 0.98 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1515, allocations: 0 / 0.98 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1515, allocations: 0 / 0.98 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.507e-06/0.1516, allocations: 4 kB / 0.98 GB, free: 26.73 MB / 0.6198 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.0002854/0.1518, allocations: 343.7 kB / 0.9804 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/0.1519, allocations: 8.031 kB / 0.9804 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.5e-05/0.1519, allocations: 34.69 kB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.7e-05/0.1519, allocations: 0.9375 kB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.283e-05/0.152, allocations: 164.4 kB / 0.9806 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.152, allocations: 384 / 0.9806 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.713e-06/0.152, allocations: 384 / 0.9806 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.1522, allocations: 58.23 kB / 0.9806 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.1522, allocations: 3.938 kB / 0.9806 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-06/0.1522, allocations: 0 / 0.9806 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1522, allocations: 11.92 kB / 0.9806 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001918/0.1524, allocations: 47.95 kB / 0.9807 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002123/0.1526, allocations: 244.9 kB / 0.9809 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.1527, allocations: 46.48 kB / 0.9809 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.288e-05/0.1528, allocations: 32.91 kB / 0.981 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.1528, allocations: 0 / 0.981 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.568e-06/0.1529, allocations: 30.56 kB / 0.981 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.1529, allocations: 0 / 0.981 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002862/0.1532, allocations: 105.5 kB / 0.9811 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.741e-05/0.1532, allocations: 55.41 kB / 0.9812 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.889e-05/0.1532, allocations: 97.84 kB / 0.9813 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.252e-06/0.1532, allocations: 25.83 kB / 0.9813 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.202e-05/0.1533, allocations: 88.14 kB / 0.9814 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.081e-05/0.1533, allocations: 3.906 kB / 0.9814 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-06/0.1533, allocations: 4 kB / 0.9814 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.594e-05/0.1533, allocations: 310.8 kB / 0.9817 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.892e-05/0.1534, allocations: 19.98 kB / 0.9817 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.206e-05/0.1535, allocations: 27.97 kB / 0.9817 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.1536, allocations: 44.83 kB / 0.9818 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1536, allocations: 3.938 kB / 0.9818 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001564/0.1538, allocations: 89.59 kB / 0.9818 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.1538, allocations: 5.562 kB / 0.9819 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.1538, allocations: 0 / 0.9819 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.799e-06/0.1538, allocations: 4 kB / 0.9819 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.2e-05/0.1539, allocations: 16.02 kB / 0.9819 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.1539, allocations: 0 / 0.9819 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.008e-05/0.1539, allocations: 4 kB / 0.9819 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.154, allocations: 4 kB / 0.9819 GB, free: 24.61 MB / 0.6198 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.214e-05/0.154, allocations: 117.8 kB / 0.982 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.968e-05/0.154, allocations: 0 / 0.982 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001822/0.1542, allocations: 88.72 kB / 0.9821 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.1542, allocations: 0 / 0.9821 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.1542, allocations: 0 / 0.9821 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1542, allocations: 4 kB / 0.9821 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.845e-05/0.1543, allocations: 165.5 kB / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1543, allocations: 0 / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-05/0.1544, allocations: 16.02 kB / 0.9823 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.1544, allocations: 0 / 0.9823 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.1544, allocations: 4 kB / 0.9823 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1544, allocations: 0 / 0.9823 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1544, allocations: 0 / 0.9823 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.1546, allocations: 183.4 kB / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.366e-05/0.1546, allocations: 81.05 kB / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.678e-06/0.1546, allocations: 3.984 kB / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.458e-05/0.1547, allocations: 8 kB / 0.9825 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.856e-05/0.1547, allocations: 3.938 kB / 0.9825 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.1547, allocations: 3.984 kB / 0.9825 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.752e-05/0.1548, allocations: 87.31 kB / 0.9826 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1548, allocations: 0 / 0.9826 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001723/0.1549, allocations: 4 kB / 0.9826 GB, free: 23.75 MB / 0.6198 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.0003171/0.1553, allocations: 0.7007 MB / 0.9833 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001604/0.1554, allocations: 51.98 kB / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1554, allocations: 0 / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.907e-05/0.1555, allocations: 23.92 kB / 0.9834 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.1557, allocations: 8 kB / 0.9834 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002784/0.156, allocations: 134.7 kB / 0.9835 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.992e-05/0.1561, allocations: 0.6848 MB / 0.9842 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.865e-05/0.1561, allocations: 0 / 0.9842 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.23e-05/0.1561, allocations: 7.438 kB / 0.9842 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.1562, allocations: 4 kB / 0.9842 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5486/0.7048, allocations: 0.9982 MB / 0.9852 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001484/0.705, allocations: 184.2 kB / 0.9853 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.41/2.115, allocations: 0 / 0.9853 GB, free: 20.95 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1)