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.Product.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.Product,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Product",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Product,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Product",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.458/1.458, allocations: 249.5 MB / 257 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 184.7 kB / 316.3 MB, free: 3.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.554/1.554, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.0008157/0.0008156, allocations: 99.39 kB / 0.6714 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.337e-05/2.34e-05, allocations: 12 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2417, allocations: 106.3 MB / 0.8853 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7876/1.029, allocations: 131.6 MB / 1.014 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/1.03, allocations: 73.14 kB / 1.014 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002237/1.032, allocations: 0.833 MB / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.733e-06/1.032, allocations: 0 / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.084e-06/1.032, allocations: 0 / 1.015 GB, free: 5.039 MB / 0.6355 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.0004578/1.032, allocations: 367.3 kB / 1.015 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/1.032, allocations: 8.031 kB / 1.015 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.408e-05/1.032, allocations: 7.906 kB / 1.015 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/1.033, allocations: 175.8 kB / 1.015 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/1.033, allocations: 0 / 1.015 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-06/1.033, allocations: 4 kB / 1.015 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.63e-05/1.033, allocations: 15.88 kB / 1.015 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.25e-05/1.033, allocations: 45.38 kB / 1.015 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/1.033, allocations: 0 / 1.015 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/1.033, allocations: 0 / 1.015 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/1.033, allocations: 0 / 1.015 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004859/1.033, allocations: 288.3 kB / 1.016 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.706e-05/1.033, allocations: 30.02 kB / 1.016 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.047e-05/1.034, allocations: 16.8 kB / 1.016 GB, free: 4 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/1.034, allocations: 0 / 1.016 GB, free: 4 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/1.034, allocations: 34.56 kB / 1.016 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.043e-06/1.034, allocations: 0 / 1.016 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001571/1.034, allocations: 55.86 kB / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/1.034, allocations: 55.34 kB / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.415e-05/1.034, allocations: 96.62 kB / 1.016 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/1.034, allocations: 29.7 kB / 1.016 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.715e-05/1.034, allocations: 83.95 kB / 1.016 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/1.034, allocations: 7.891 kB / 1.016 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/1.034, allocations: 0 / 1.016 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001352/1.034, allocations: 326.7 kB / 1.016 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.361e-05/1.034, allocations: 7.812 kB / 1.016 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.824e-05/1.034, allocations: 7.875 kB / 1.016 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.068e-05/1.034, allocations: 4 kB / 1.016 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/1.034, allocations: 0 / 1.016 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.136e-05/1.034, allocations: 57.28 kB / 1.016 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/1.034, allocations: 4 kB / 1.016 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/1.034, allocations: 0 / 1.016 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/1.034, allocations: 0 / 1.016 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/1.035, allocations: 27.97 kB / 1.016 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/1.035, allocations: 4.719 kB / 1.016 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.419e-05/1.035, allocations: 15.98 kB / 1.016 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/1.035, allocations: 0 / 1.016 GB, free: 3.176 MB / 0.6355 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 (3): * Single equations (assignments): 3 * 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 6.799e-05/1.035, allocations: 104.9 kB / 1.017 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.402e-05/1.035, allocations: 57.38 kB / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/1.035, allocations: 4.141 kB / 1.017 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.125e-05/1.035, allocations: 8.344 kB / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/1.035, allocations: 3.984 kB / 1.017 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/1.035, allocations: 3.938 kB / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/1.035, allocations: 0 / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/1.035, allocations: 149.3 kB / 1.017 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.035, allocations: 0 / 1.017 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/1.035, allocations: 27.97 kB / 1.017 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/1.035, allocations: 0 / 1.017 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/1.035, allocations: 0.875 kB / 1.017 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.035, allocations: 0 / 1.017 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.035, allocations: 0 / 1.017 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/1.035, allocations: 150.8 kB / 1.017 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/1.035, allocations: 81.02 kB / 1.017 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/1.035, allocations: 3.938 kB / 1.017 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/1.036, allocations: 24.42 kB / 1.017 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/1.036, allocations: 7.984 kB / 1.017 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/1.036, allocations: 0 / 1.017 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.22e-05/1.036, allocations: 83.41 kB / 1.017 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/1.036, allocations: 0 / 1.017 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002043/1.036, allocations: 11.94 kB / 1.017 GB, free: 2.406 MB / 0.6355 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 (3): * Single equations (assignments): 3 * 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.0004009/1.036, allocations: 0.6834 MB / 1.018 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.434e-05/1.036, allocations: 27.23 kB / 1.018 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.036, allocations: 0 / 1.018 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.878e-05/1.036, allocations: 11.94 kB / 1.018 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/1.037, allocations: 6.797 kB / 1.018 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003585/1.037, allocations: 117.2 kB / 1.018 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/1.037, allocations: 0.6807 MB / 1.019 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.125e-05/1.037, allocations: 0 / 1.019 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.363e-05/1.037, allocations: 15.36 kB / 1.019 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of SimCode: time 2.51e-07/1.037, allocations: 3.938 kB / 1.019 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01865/1.056, allocations: 0.9602 MB / 1.02 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002345/1.056, allocations: 158.4 kB / 1.02 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.375/2.432, allocations: 0 / 1.02 GB, free: 15.68 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Product_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Product.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe 2>&1)