Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.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.PIDScale,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale",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 2.724/2.724, allocations: 284.9 MB / 292.4 MB, free: 10.55 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.002288/0.002289, allocations: 176.9 kB / 360.6 MB, free: 7.285 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.11/2.11, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.00108/0.001079, allocations: 86.91 kB / 0.7321 GB, free: 44.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.171e-05/4.175e-05, allocations: 8 kB / 0.8509 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8386/0.8387, allocations: 115.3 MB / 0.9634 GB, free: 78.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2479/1.087, allocations: 138.9 MB / 1.099 GB, free: 1.609 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/1.087, allocations: 77.77 kB / 1.099 GB, free: 1.535 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.04237/1.129, allocations: 9.24 MB / 1.108 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.773e-06/1.13, allocations: 4 kB / 1.108 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.634e-05/1.13, allocations: 12 kB / 1.108 GB, free: 8.375 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001748/1.131, allocations: 0.7456 MB / 1.109 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/1.131, allocations: 8.031 kB / 1.109 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002242/1.132, allocations: 67.44 kB / 1.109 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/1.133, allocations: 444.6 kB / 1.109 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.187e-05/1.133, allocations: 16 kB / 1.109 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/1.133, allocations: 32 kB / 1.109 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008241/1.134, allocations: 269.7 kB / 1.11 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009515/1.135, allocations: 377.2 kB / 1.11 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/1.135, allocations: 3.984 kB / 1.11 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.374e-05/1.135, allocations: 0 / 1.11 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.932e-05/1.135, allocations: 16 kB / 1.11 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003547/1.139, allocations: 1.392 MB / 1.111 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/1.14, allocations: 0.7832 MB / 1.112 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003625/1.14, allocations: 163.2 kB / 1.112 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.549e-05/1.14, allocations: 4 kB / 1.112 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004952/1.141, allocations: 199 kB / 1.113 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 3.377e-06/1.141, allocations: 0 / 1.113 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43): time 0.0008992/1.141, allocations: 312.9 kB / 1.113 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.14e-05/1.142, allocations: 110.8 kB / 1.113 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005335/1.142, allocations: 282.3 kB / 1.113 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.42e-05/1.142, allocations: 37.69 kB / 1.113 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002805/1.143, allocations: 256.8 kB / 1.114 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/1.143, allocations: 130 kB / 1.114 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/1.143, allocations: 4 kB / 1.114 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001678/1.143, allocations: 351.9 kB / 1.114 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003603/1.143, allocations: 124.9 kB / 1.114 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004392/1.144, allocations: 204.4 kB / 1.114 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006059/1.144, allocations: 152.6 kB / 1.114 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/1.144, allocations: 0 / 1.114 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001285/1.146, allocations: 414.7 kB / 1.115 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004338/1.146, allocations: 0.5638 MB / 1.115 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/1.146, allocations: 0 / 1.115 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.812e-05/1.146, allocations: 4.047 kB / 1.115 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007146/1.147, allocations: 95.81 kB / 1.115 GB, free: 484 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/1.147, allocations: 7.938 kB / 1.115 GB, free: 476 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007267/1.148, allocations: 79.69 kB / 1.116 GB, free: 396 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-05/1.148, allocations: 16 kB / 1.116 GB, free: 380 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/1.148, allocations: 4 kB / 1.116 GB, free: 376 kB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001127/1.149, allocations: 336.1 kB / 1.116 GB, free: 40 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/1.149, allocations: 5.312 kB / 1.116 GB, free: 36 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/1.149, allocations: 4 kB / 1.116 GB, free: 32 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005509/1.15, allocations: 71.91 kB / 1.116 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/1.15, allocations: 4.156 kB / 1.116 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006646/1.15, allocations: 67.64 kB / 1.116 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.334e-05/1.15, allocations: 17.06 kB / 1.116 GB, free: 15.88 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 1 * 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 0.000211/1.151, allocations: 135.1 kB / 1.116 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007345/1.151, allocations: 297.4 kB / 1.116 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.919e-05/1.151, allocations: 39.53 kB / 1.117 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00016/1.152, allocations: 40.58 kB / 1.117 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/1.152, allocations: 4 kB / 1.117 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/1.152, allocations: 0 / 1.117 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.481e-05/1.152, allocations: 11.94 kB / 1.117 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001918/1.154, allocations: 0.8752 MB / 1.117 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/1.154, allocations: 7.719 kB / 1.117 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007437/1.154, allocations: 75.89 kB / 1.118 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/1.154, allocations: 0 / 1.118 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.685e-05/1.154, allocations: 4 kB / 1.118 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.747e-06/1.154, allocations: 7.891 kB / 1.118 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.154, allocations: 0 / 1.118 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/1.156, allocations: 0.5594 MB / 1.118 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/1.156, allocations: 120.5 kB / 1.118 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.478e-05/1.156, allocations: 3.984 kB / 1.118 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003864/1.156, allocations: 19.98 kB / 1.118 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.529e-05/1.156, allocations: 23.92 kB / 1.118 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-05/1.156, allocations: 19.98 kB / 1.118 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003579/1.157, allocations: 216.6 kB / 1.118 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.41e-07/1.157, allocations: 0 / 1.118 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009372/1.158, allocations: 171.2 kB / 1.119 GB, free: 13.18 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 6 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001676/1.159, allocations: 1.131 MB / 1.12 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001526/1.161, allocations: 0.6344 MB / 1.12 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.161, allocations: 0 / 1.12 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003532/1.161, allocations: 148.6 kB / 1.12 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008829/1.162, allocations: 73.88 kB / 1.121 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/1.164, allocations: 0.7216 MB / 1.121 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005511/1.165, allocations: 0.863 MB / 1.122 GB, free: 9.504 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0005372/1.166, allocations: 71.22 kB / 1.122 GB, free: 9.434 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004222/1.166, allocations: 179.4 kB / 1.122 GB, free: 9.258 MB / 0.7292 GB Notification: Performance of SimCode: time 1.303e-06/1.166, allocations: 0 / 1.122 GB, free: 9.258 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06314/1.229, allocations: 8.863 MB / 1.131 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003317/1.23, allocations: 151.2 kB / 1.131 GB, free: 400 kB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.774/4.003, allocations: 0 / 1.131 GB, free: 400 kB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1)