Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 2.042/2.042, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001273/0.001273, allocations: 180.8 kB / 361.4 MB, free: 6.863 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.993/1.993, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009638/0.0009637, allocations: 98.8 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.324e-05/3.325e-05, allocations: 8 kB / 0.8519 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.08/1.08, allocations: 115.3 MB / 0.9645 GB, free: 78.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.22/1.3, allocations: 136.8 MB / 1.098 GB, free: 2.891 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003139/1.3, allocations: 71.95 kB / 1.098 GB, free: 2.82 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001932/1.302, allocations: 0.6512 MB / 1.099 GB, free: 2.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.503e-06/1.302, allocations: 0 / 1.099 GB, free: 2.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.504e-06/1.302, allocations: 0 / 1.099 GB, free: 2.18 MB / 0.698 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.000407/1.303, allocations: 339.1 kB / 1.099 GB, free: 1.812 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/1.303, allocations: 8.031 kB / 1.099 GB, free: 1.805 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.99e-05/1.303, allocations: 2.875 kB / 1.099 GB, free: 1.805 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/1.303, allocations: 178.9 kB / 1.099 GB, free: 1.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/1.303, allocations: 2.141 kB / 1.099 GB, free: 1.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/1.303, allocations: 0.9688 kB / 1.099 GB, free: 1.59 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.317e-05/1.303, allocations: 7.938 kB / 1.099 GB, free: 1.582 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.489e-05/1.303, allocations: 41.47 kB / 1.099 GB, free: 1.539 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/1.303, allocations: 3.984 kB / 1.099 GB, free: 1.535 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/1.303, allocations: 0 / 1.099 GB, free: 1.535 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/1.303, allocations: 0.5 kB / 1.099 GB, free: 1.535 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003678/1.304, allocations: 230.8 kB / 1.1 GB, free: 1.273 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.116e-05/1.304, allocations: 23.7 kB / 1.1 GB, free: 1.242 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.75e-05/1.304, allocations: 10.17 kB / 1.1 GB, free: 1.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/1.304, allocations: 3.938 kB / 1.1 GB, free: 1.227 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/1.304, allocations: 34.34 kB / 1.1 GB, free: 1.188 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.084e-06/1.304, allocations: 6.25 kB / 1.1 GB, free: 1.184 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001851/1.304, allocations: 38.3 kB / 1.1 GB, free: 1.141 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/1.304, allocations: 56.33 kB / 1.1 GB, free: 1.074 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.504e-05/1.304, allocations: 94.47 kB / 1.1 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/1.304, allocations: 25.7 kB / 1.1 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.57e-05/1.304, allocations: 80.64 kB / 1.1 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/1.304, allocations: 5.594 kB / 1.1 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/1.304, allocations: 0 / 1.1 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001232/1.305, allocations: 318.8 kB / 1.1 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.47e-05/1.305, allocations: 0.5312 kB / 1.1 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.406e-05/1.305, allocations: 4.531 kB / 1.1 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.466e-05/1.305, allocations: 16.53 kB / 1.1 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/1.305, allocations: 0 / 1.1 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.027e-05/1.305, allocations: 43.17 kB / 1.1 GB, free: 484 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/1.305, allocations: 4 kB / 1.1 GB, free: 480 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/1.305, allocations: 4 kB / 1.1 GB, free: 476 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/1.305, allocations: 0.5625 kB / 1.1 GB, free: 476 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/1.305, allocations: 12.64 kB / 1.1 GB, free: 464 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/1.305, allocations: 7.141 kB / 1.1 GB, free: 464 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.403e-05/1.305, allocations: 8.859 kB / 1.1 GB, free: 456 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/1.305, allocations: 4 kB / 1.1 GB, free: 452 kB / 0.698 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 () * 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.704e-05/1.305, allocations: 105.9 kB / 1.1 GB, free: 340 kB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.401e-05/1.305, allocations: 44.17 kB / 1.101 GB, free: 292 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.337e-05/1.305, allocations: 7.938 kB / 1.101 GB, free: 284 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/1.305, allocations: 45.44 kB / 1.101 GB, free: 232 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/1.305, allocations: 0 / 1.101 GB, free: 232 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/1.305, allocations: 0 / 1.101 GB, free: 232 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/1.305, allocations: 0.7031 kB / 1.101 GB, free: 232 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/1.305, allocations: 146.2 kB / 1.101 GB, free: 48 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/1.305, allocations: 0 / 1.101 GB, free: 48 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.251e-05/1.306, allocations: 8 kB / 1.101 GB, free: 40 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/1.306, allocations: 0 / 1.101 GB, free: 40 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/1.306, allocations: 7.984 kB / 1.101 GB, free: 32 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/1.306, allocations: 0 / 1.101 GB, free: 32 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.306, allocations: 0 / 1.101 GB, free: 32 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/1.306, allocations: 139.5 kB / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.984e-05/1.306, allocations: 83.27 kB / 1.101 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/1.306, allocations: 3.984 kB / 1.101 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/1.306, allocations: 7.25 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/1.306, allocations: 4 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/1.306, allocations: 3.984 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.061e-05/1.306, allocations: 83.28 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.306, allocations: 0 / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002009/1.306, allocations: 7.938 kB / 1.101 GB, free: 15.68 MB / 0.7136 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 () * 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.0004295/1.307, allocations: 0.6758 MB / 1.102 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.836e-05/1.307, allocations: 15.94 kB / 1.102 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/1.307, allocations: 1.219 kB / 1.102 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.226e-05/1.307, allocations: 12.09 kB / 1.102 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/1.307, allocations: 7.375 kB / 1.102 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000348/1.307, allocations: 91.94 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/1.308, allocations: 0.6768 MB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.647e-05/1.308, allocations: 4 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.887e-05/1.308, allocations: 7.438 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/1.308, allocations: 0 / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01992/1.328, allocations: 0.6944 MB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002333/1.328, allocations: 158.8 kB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.822/3.15, allocations: 2.844 kB / 1.103 GB, free: 13.26 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1)