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.Sin.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.Sin,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.447/1.447, allocations: 251.9 MB / 266.9 MB, free: 11.04 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.001071/0.001071, allocations: 179.8 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.061/2.061, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.000986/0.0009857, allocations: 92.17 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.0003528, allocations: 11.25 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2239, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1602/0.3841, allocations: 131.5 MB / 1.029 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/0.3845, allocations: 71.95 kB / 1.029 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001802/0.3863, allocations: 0.6804 MB / 1.029 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.435e-06/0.3863, allocations: 4 kB / 1.029 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.3863, allocations: 0 / 1.029 GB, free: 11.45 MB / 0.6823 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.0003473/0.3867, allocations: 343.2 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.3867, allocations: 8.031 kB / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.244e-05/0.3868, allocations: 34.56 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.033e-05/0.3868, allocations: 0 / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.3869, allocations: 167 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.3869, allocations: 8 kB / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.3869, allocations: 4 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.3871, allocations: 53.61 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.3871, allocations: 0 / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.3871, allocations: 4 kB / 1.03 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3871, allocations: 0 / 1.03 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001731/0.3873, allocations: 47.95 kB / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/0.3877, allocations: 248.8 kB / 1.03 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.3878, allocations: 54.48 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.3879, allocations: 0 / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.3879, allocations: 30.56 kB / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.3879, allocations: 0 / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0003962/0.3883, allocations: 97.69 kB / 1.03 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.3884, allocations: 59.34 kB / 1.03 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.458e-05/0.3884, allocations: 93 kB / 1.03 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.3885, allocations: 25.7 kB / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.68e-05/0.3885, allocations: 80.14 kB / 1.031 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.3885, allocations: 12.02 kB / 1.031 GB, free: 9.906 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-06/0.3886, allocations: 4 kB / 1.031 GB, free: 9.902 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3887, allocations: 322.7 kB / 1.031 GB, free: 9.578 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.998e-05/0.3888, allocations: 19.98 kB / 1.031 GB, free: 9.559 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.629e-05/0.3889, allocations: 19.98 kB / 1.031 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.432e-05/0.389, allocations: 24.05 kB / 1.031 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.389, allocations: 0 / 1.031 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002026/0.3892, allocations: 77.66 kB / 1.031 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.3893, allocations: 8 kB / 1.031 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3893, allocations: 0 / 1.031 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.3893, allocations: 0 / 1.031 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.749e-05/0.3894, allocations: 11.98 kB / 1.031 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/0.3894, allocations: 0 / 1.031 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.506e-05/0.3895, allocations: 15.92 kB / 1.031 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.3895, allocations: 0 / 1.031 GB, free: 9.398 MB / 0.6823 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 7.93e-05/0.3896, allocations: 113.8 kB / 1.031 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.3896, allocations: 3.938 kB / 1.031 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002474/0.3898, allocations: 84.69 kB / 1.031 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3899, allocations: 4.031 kB / 1.031 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.3899, allocations: 4 kB / 1.031 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3899, allocations: 0 / 1.031 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.39, allocations: 161.6 kB / 1.031 GB, free: 8.969 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.39, allocations: 0 / 1.031 GB, free: 8.969 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.283e-05/0.3901, allocations: 11.98 kB / 1.031 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3901, allocations: 0 / 1.031 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.3901, allocations: 0 / 1.031 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3901, allocations: 0 / 1.031 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3901, allocations: 0 / 1.031 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.3904, allocations: 187.4 kB / 1.032 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.485e-05/0.3904, allocations: 77.11 kB / 1.032 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.3904, allocations: 0 / 1.032 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.844e-05/0.3905, allocations: 16.02 kB / 1.032 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.3906, allocations: 0 / 1.032 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.3906, allocations: 0 / 1.032 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.353e-05/0.3906, allocations: 83.28 kB / 1.032 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3906, allocations: 0 / 1.032 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000198/0.3908, allocations: 4 kB / 1.032 GB, free: 8.562 MB / 0.6823 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.0005254/0.3914, allocations: 0.7169 MB / 1.032 GB, free: 7.82 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002175/0.3916, allocations: 48 kB / 1.033 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3916, allocations: 0 / 1.033 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.418e-05/0.3917, allocations: 23.98 kB / 1.033 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.3919, allocations: 14.28 kB / 1.033 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000396/0.3923, allocations: 138.3 kB / 1.033 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.3925, allocations: 0.6809 MB / 1.033 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.403e-05/0.3926, allocations: 0 / 1.033 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.969e-05/0.3926, allocations: 7.438 kB / 1.033 GB, free: 6.848 MB / 0.6823 GB Notification: Performance of SimCode: time 2.655e-06/0.3926, allocations: 3.938 kB / 1.033 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01083/0.4035, allocations: 0.9888 MB / 1.034 GB, free: 5.996 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002571/0.4038, allocations: 195.4 kB / 1.035 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.439/1.842, allocations: 0 / 1.035 GB, free: 5.754 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1)