Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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.Logical.Validation.Nor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",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.518/1.518, allocations: 249.3 MB / 261.8 MB, free: 5.957 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.001043/0.001043, allocations: 178 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 205.1 MB / 0.572 GB, free: 10.6 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.0008655/0.0008655, allocations: 74.55 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.846e-05/3.849e-05, allocations: 4 kB / 0.788 GB, free: 96.97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.226, allocations: 106.3 MB / 0.8919 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8203/1.046, allocations: 131.4 MB / 1.02 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/1.047, allocations: 72.77 kB / 1.02 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002763/1.05, allocations: 0.8921 MB / 1.021 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.713e-06/1.05, allocations: 0 / 1.021 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.207e-05/1.05, allocations: 4 kB / 1.021 GB, free: 2.5 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005616/1.05, allocations: 362.8 kB / 1.021 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/1.05, allocations: 8.031 kB / 1.021 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.288e-05/1.05, allocations: 34.55 kB / 1.021 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/1.05, allocations: 7.906 kB / 1.022 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/1.051, allocations: 181.9 kB / 1.022 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/1.051, allocations: 4 kB / 1.022 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/1.051, allocations: 4 kB / 1.022 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/1.051, allocations: 48.88 kB / 1.022 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/1.051, allocations: 0.875 kB / 1.022 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/1.051, allocations: 0 / 1.022 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/1.051, allocations: 4 kB / 1.022 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.615e-05/1.051, allocations: 23.42 kB / 1.022 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005755/1.051, allocations: 289.9 kB / 1.022 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/1.052, allocations: 45.33 kB / 1.022 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.121e-05/1.052, allocations: 15.98 kB / 1.022 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/1.052, allocations: 3.984 kB / 1.022 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001776/1.052, allocations: 73.5 kB / 1.022 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/1.052, allocations: 2.734 kB / 1.022 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002034/1.052, allocations: 69.25 kB / 1.022 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/1.052, allocations: 66.73 kB / 1.022 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.63e-05/1.052, allocations: 111.8 kB / 1.022 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/1.052, allocations: 29.7 kB / 1.022 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.957e-05/1.052, allocations: 83.83 kB / 1.023 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/1.052, allocations: 19.19 kB / 1.023 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-06/1.052, allocations: 0 / 1.023 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002041/1.053, allocations: 318.4 kB / 1.023 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.037e-05/1.053, allocations: 15.12 kB / 1.023 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.25e-05/1.053, allocations: 33.52 kB / 1.023 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.232e-05/1.053, allocations: 19.67 kB / 1.023 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/1.053, allocations: 0 / 1.023 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001142/1.053, allocations: 75.5 kB / 1.023 GB, free: 492 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/1.053, allocations: 5.25 kB / 1.023 GB, free: 488 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/1.053, allocations: 0 / 1.023 GB, free: 488 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/1.053, allocations: 8.062 kB / 1.023 GB, free: 480 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.996e-05/1.053, allocations: 4 kB / 1.023 GB, free: 476 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/1.053, allocations: 0 / 1.023 GB, free: 476 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.342e-05/1.053, allocations: 19.94 kB / 1.023 GB, free: 456 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/1.053, allocations: 0 / 1.023 GB, free: 456 kB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,nor1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 0.0001599/1.053, allocations: 112 kB / 1.023 GB, free: 340 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.69e-05/1.053, allocations: 7.906 kB / 1.023 GB, free: 332 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.562e-05/1.053, allocations: 20.05 kB / 1.023 GB, free: 316 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/1.053, allocations: 0 / 1.023 GB, free: 316 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.053, allocations: 7.875 kB / 1.023 GB, free: 308 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/1.053, allocations: 0 / 1.023 GB, free: 308 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/1.054, allocations: 176.2 kB / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/1.054, allocations: 0 / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.009e-05/1.054, allocations: 3.984 kB / 1.023 GB, free: 84 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/1.054, allocations: 4 kB / 1.023 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/1.054, allocations: 3.375 kB / 1.023 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/1.054, allocations: 0 / 1.023 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/1.054, allocations: 0 / 1.023 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/1.054, allocations: 103.5 kB / 1.023 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.581e-05/1.054, allocations: 77.11 kB / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/1.054, allocations: 3.984 kB / 1.024 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.492e-05/1.054, allocations: 15.98 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.948e-05/1.054, allocations: 15.36 kB / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-06/1.054, allocations: 0 / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.553e-05/1.054, allocations: 90.59 kB / 1.024 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.51e-07/1.054, allocations: 0 / 1.024 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001931/1.054, allocations: 15.69 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,nor1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000518/1.055, allocations: 0.6335 MB / 1.024 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001144/1.055, allocations: 53.3 kB / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/1.055, allocations: 0 / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.876e-05/1.055, allocations: 27.75 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001886/1.055, allocations: 13.7 kB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003529/1.056, allocations: 122.1 kB / 1.024 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/1.056, allocations: 0.6944 MB / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.429e-05/1.056, allocations: 19.91 kB / 1.025 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.217e-05/1.056, allocations: 14.25 kB / 1.025 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of SimCode: time 4.01e-07/1.056, allocations: 0 / 1.025 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01264/1.069, allocations: 1.591 MB / 1.027 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001715/1.069, allocations: 171.5 kB / 1.027 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.57/2.638, allocations: 0 / 1.027 GB, free: 12.42 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1)