Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.133/2.133, allocations: 251.1 MB / 266.7 MB, free: 11.54 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.002785/0.002785, allocations: 177.9 kB / 326.2 MB, free: 2.844 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.587/2.587, allocations: 205.4 MB / 0.5772 GB, free: 20.77 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.0008643/0.0008641, allocations: 86.5 kB / 0.6817 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008239/0.0008245, allocations: 12.16 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2821, allocations: 106.3 MB / 0.8995 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2287/0.5108, allocations: 131.2 MB / 1.028 GB, free: 14.14 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/0.5111, allocations: 75.95 kB / 1.028 GB, free: 14.07 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.002117/0.5133, allocations: 0.6103 MB / 1.028 GB, free: 13.45 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.325e-06/0.5133, allocations: 0 / 1.028 GB, free: 13.45 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.5134, allocations: 0 / 1.028 GB, free: 13.45 MB / 0.6824 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.0004659/0.5138, allocations: 346.8 kB / 1.029 GB, free: 13.07 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.5139, allocations: 12.03 kB / 1.029 GB, free: 13.05 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.919e-05/0.5139, allocations: 0.9375 kB / 1.029 GB, free: 13.05 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.5141, allocations: 168.4 kB / 1.029 GB, free: 12.85 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.5141, allocations: 4.375 kB / 1.029 GB, free: 12.85 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.5141, allocations: 4.359 kB / 1.029 GB, free: 12.84 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.5144, allocations: 66.11 kB / 1.029 GB, free: 12.77 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.5144, allocations: 192 / 1.029 GB, free: 12.77 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.5144, allocations: 7.875 kB / 1.029 GB, free: 12.77 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.5144, allocations: 0 / 1.029 GB, free: 12.77 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002883/0.5147, allocations: 39.97 kB / 1.029 GB, free: 12.73 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005176/0.5153, allocations: 272.8 kB / 1.029 GB, free: 12.41 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.5155, allocations: 54.44 kB / 1.029 GB, free: 12.35 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.5157, allocations: 24.91 kB / 1.029 GB, free: 12.32 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.5157, allocations: 4 kB / 1.029 GB, free: 12.32 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.5157, allocations: 34.55 kB / 1.029 GB, free: 12.27 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=2): time 1.673e-06/0.5157, allocations: 0 / 1.029 GB, free: 12.27 MB / 0.6824 GB Notification: Performance of matching and sorting (n=2): time 0.0005532/0.5163, allocations: 93.66 kB / 1.029 GB, free: 12.18 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.5164, allocations: 51.41 kB / 1.029 GB, free: 12.11 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.183e-05/0.5165, allocations: 105.8 kB / 1.029 GB, free: 12 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.5165, allocations: 29.83 kB / 1.03 GB, free: 11.96 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 4.993e-05/0.5166, allocations: 80.14 kB / 1.03 GB, free: 11.88 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.5166, allocations: 7.906 kB / 1.03 GB, free: 11.88 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-06/0.5166, allocations: 4 kB / 1.03 GB, free: 11.87 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.5168, allocations: 318.8 kB / 1.03 GB, free: 11.55 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.5169, allocations: 15.98 kB / 1.03 GB, free: 11.54 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.5171, allocations: 27.98 kB / 1.03 GB, free: 11.51 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.5172, allocations: 19.98 kB / 1.03 GB, free: 11.49 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.5173, allocations: 0 / 1.03 GB, free: 11.49 MB / 0.6824 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003625/0.5176, allocations: 85.66 kB / 1.03 GB, free: 11.4 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.5177, allocations: 5.562 kB / 1.03 GB, free: 11.39 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.5177, allocations: 0 / 1.03 GB, free: 11.39 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.5177, allocations: 0 / 1.03 GB, free: 11.39 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.5178, allocations: 11.98 kB / 1.03 GB, free: 11.38 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.5179, allocations: 0 / 1.03 GB, free: 11.38 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.956e-05/0.518, allocations: 16.02 kB / 1.03 GB, free: 11.37 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.518, allocations: 256 / 1.03 GB, free: 11.37 MB / 0.6824 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 9.882e-05/0.5181, allocations: 113.8 kB / 1.03 GB, free: 11.25 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.21e-05/0.5181, allocations: 7.844 kB / 1.03 GB, free: 11.24 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.674e-05/0.5182, allocations: 7.125 kB / 1.03 GB, free: 11.23 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.387e-06/0.5182, allocations: 4 kB / 1.03 GB, free: 11.23 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.5182, allocations: 3.938 kB / 1.03 GB, free: 11.22 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.5182, allocations: 4 kB / 1.03 GB, free: 11.22 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.5184, allocations: 165.6 kB / 1.03 GB, free: 11.01 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.5184, allocations: 0 / 1.03 GB, free: 11.01 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.5186, allocations: 8 kB / 1.03 GB, free: 11 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.5186, allocations: 0 / 1.03 GB, free: 11 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.5186, allocations: 3.984 kB / 1.03 GB, free: 11 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.5186, allocations: 0 / 1.03 GB, free: 11 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5186, allocations: 0 / 1.03 GB, free: 11 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003907/0.519, allocations: 179.4 kB / 1.031 GB, free: 10.8 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 4.397e-05/0.5191, allocations: 81.09 kB / 1.031 GB, free: 10.71 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.5191, allocations: 0 / 1.031 GB, free: 10.71 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.5192, allocations: 8 kB / 1.031 GB, free: 10.7 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.5193, allocations: 8.016 kB / 1.031 GB, free: 10.69 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.5193, allocations: 0 / 1.031 GB, free: 10.69 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 5.047e-05/0.5194, allocations: 87.22 kB / 1.031 GB, free: 10.61 MB / 0.6824 GB Notification: Performance of sort global known variables: time 4.01e-07/0.5194, allocations: 0 / 1.031 GB, free: 10.61 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0002606/0.5197, allocations: 4 kB / 1.031 GB, free: 10.6 MB / 0.6824 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.0001584/0.5198, allocations: 99.25 kB / 1.031 GB, free: 10.49 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0003479/0.5202, allocations: 47.95 kB / 1.031 GB, free: 10.45 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5202, allocations: 0 / 1.031 GB, free: 10.45 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.5204, allocations: 23.98 kB / 1.031 GB, free: 10.42 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.5207, allocations: 12.06 kB / 1.031 GB, free: 10.41 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003506/0.5211, allocations: 118.8 kB / 1.031 GB, free: 10.27 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.5214, allocations: 0.677 MB / 1.032 GB, free: 9.566 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 3.554e-05/0.5215, allocations: 0 / 1.032 GB, free: 9.566 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.27e-05/0.5215, allocations: 15.38 kB / 1.032 GB, free: 9.551 MB / 0.6824 GB Notification: Performance of SimCode: time 9.72e-07/0.5215, allocations: 0 / 1.032 GB, free: 9.551 MB / 0.6824 GB Notification: Performance of Templates: time 0.002794/0.5243, allocations: 349 kB / 1.032 GB, free: 9.211 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe 2>&1)