Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 111.3 kB / 15.23 MB, free: 0.6367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001767/0.001768, allocations: 191.7 kB / 16.14 MB, free: 6.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.877/2.877, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 68.64 kB / 0.9114 GB, free: 33.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4054, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002416/0.4078, allocations: 0.9422 MB / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001768/0.4096, allocations: 1.194 MB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.075e-05/0.4097, allocations: 4 kB / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.806e-05/0.4097, allocations: 7.922 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.602e-05/0.4098, allocations: 7.875 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005607/0.4104, allocations: 139.4 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.4106, allocations: 147.7 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.4108, allocations: 53 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.4109, allocations: 55.83 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.411, allocations: 59.73 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.161e-05/0.411, allocations: 8 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.463e-05/0.4111, allocations: 27.98 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.473e-05/0.4112, allocations: 23.86 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.68e-05/0.4113, allocations: 59.72 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.4115, allocations: 163.7 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.364e-05/0.4115, allocations: 4 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4115, allocations: 0 / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.4116, allocations: 0 / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007842/0.4124, allocations: 448.8 kB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.4124, allocations: 8.031 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.093e-05/0.4125, allocations: 16.75 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005905/0.4131, allocations: 264.2 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.4131, allocations: 4.375 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.05e-05/0.4131, allocations: 16.38 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.4134, allocations: 88.45 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.4134, allocations: 3.938 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.4134, allocations: 4 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.4134, allocations: 0 / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001871/0.4136, allocations: 55.89 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007513/0.4144, allocations: 384.4 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.4145, allocations: 38.5 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.419e-05/0.4146, allocations: 28.83 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.4146, allocations: 0 / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002212/0.4149, allocations: 91.48 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.4149, allocations: 4 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0005079/0.4154, allocations: 133.5 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.4154, allocations: 59.34 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.4157, allocations: 151.2 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.382e-05/0.4157, allocations: 33.7 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.791e-05/0.4158, allocations: 112.1 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.4158, allocations: 24 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.416, allocations: 45.69 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.4161, allocations: 330.8 kB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.4163, allocations: 47.95 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.4165, allocations: 131.1 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/0.4168, allocations: 200.6 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4169, allocations: 4 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004742/0.4173, allocations: 239 kB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.344e-05/0.4174, allocations: 37.69 kB / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.4174, allocations: 7.938 kB / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.4174, allocations: 4 kB / 1.073 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.4175, allocations: 32.3 kB / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.4176, allocations: 7.938 kB / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.4178, allocations: 43.8 kB / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/0.4178, allocations: 8 kB / 1.073 GB, free: 4.633 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001151/0.4179, allocations: 129.8 kB / 1.073 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.418, allocations: 15.92 kB / 1.073 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.904e-05/0.418, allocations: 16.72 kB / 1.073 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.418, allocations: 4 kB / 1.073 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.418, allocations: 7.938 kB / 1.073 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.418, allocations: 0 / 1.073 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005481/0.4186, allocations: 406.2 kB / 1.074 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4186, allocations: 0 / 1.074 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.958e-05/0.4187, allocations: 15.98 kB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.4187, allocations: 7.938 kB / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.4187, allocations: 0 / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.4187, allocations: 0 / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4187, allocations: 0 / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004113/0.4192, allocations: 239.3 kB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.55e-05/0.4192, allocations: 92.86 kB / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.4192, allocations: 4 kB / 1.074 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.83e-05/0.4193, allocations: 8.031 kB / 1.074 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.4194, allocations: 12.17 kB / 1.074 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.4194, allocations: 4 kB / 1.074 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.118e-05/0.4195, allocations: 108.9 kB / 1.074 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4195, allocations: 0 / 1.074 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002937/0.4198, allocations: 31.98 kB / 1.074 GB, free: 3.449 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002289/0.42, allocations: 111.2 kB / 1.074 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003977/0.4204, allocations: 179.2 kB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4204, allocations: 0 / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.4206, allocations: 39.91 kB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.4209, allocations: 20.73 kB / 1.075 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005612/0.4214, allocations: 290.7 kB / 1.075 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.4217, allocations: 0.7125 MB / 1.076 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.006e-05/0.4218, allocations: 16.64 kB / 1.076 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.613e-05/0.4218, allocations: 15.44 kB / 1.076 GB, free: 2 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.4218, allocations: 0 / 1.076 GB, free: 2 MB / 0.8262 GB Notification: Performance of Templates: time 0.004262/0.4261, allocations: 1.538 MB / 1.077 GB, free: 496 kB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1)