Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.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.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.412/1.412, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.801/2.801, allocations: 472.6 MB / 0.7451 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 61.33 kB / 0.912 GB, free: 33.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4096/0.4119, allocations: 159.9 MB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.002087/0.414, allocations: 0.5367 MB / 1.069 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000727/0.4147, allocations: 317.2 kB / 1.069 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.519e-05/0.4148, allocations: 0 / 1.069 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.836e-05/0.4148, allocations: 3.938 kB / 1.069 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.407e-05/0.4148, allocations: 3.938 kB / 1.069 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004261/0.4153, allocations: 111.5 kB / 1.069 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.968e-05/0.4153, allocations: 7.984 kB / 1.069 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.74e-05/0.4154, allocations: 7.984 kB / 1.069 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.609e-05/0.4154, allocations: 0 / 1.069 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.126e-05/0.4155, allocations: 11.94 kB / 1.069 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.4155, allocations: 0 / 1.069 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002813/0.4158, allocations: 187.8 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.061e-05/0.4158, allocations: 4 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.044e-05/0.4158, allocations: 11.98 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.416, allocations: 79.8 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.416, allocations: 0 / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.332e-06/0.416, allocations: 0 / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.416, allocations: 0 / 1.069 GB, free: 9.098 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004373/0.4164, allocations: 339.8 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.4165, allocations: 12.03 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.962e-05/0.4166, allocations: 4.844 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.4167, allocations: 164.4 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.4167, allocations: 4.375 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.4167, allocations: 384 / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.4168, allocations: 46.12 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.4168, allocations: 192 / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.4169, allocations: 7.938 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.4169, allocations: 0 / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.324e-05/0.4169, allocations: 4 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002019/0.4171, allocations: 153.7 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.231e-05/0.4172, allocations: 22.61 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.501e-05/0.4172, allocations: 16.86 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006406/0.4178, allocations: 0.57 MB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.4179, allocations: 42.5 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.4179, allocations: 0 / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005256/0.4184, allocations: 254.2 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.4185, allocations: 51.41 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.712e-05/0.4185, allocations: 105.9 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.4186, allocations: 25.92 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.113e-05/0.4186, allocations: 88.14 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.4186, allocations: 3.906 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.192e-05/0.4187, allocations: 17.72 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.4188, allocations: 314.8 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.11e-05/0.4188, allocations: 8 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.602e-05/0.4189, allocations: 13.72 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.2e-05/0.4189, allocations: 37.64 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.4189, allocations: 0 / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.894e-05/0.419, allocations: 45.7 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.4191, allocations: 7.938 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4191, allocations: 0 / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.4191, allocations: 7.938 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.388e-05/0.4191, allocations: 7.984 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.4192, allocations: 3.984 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.777e-05/0.4192, allocations: 8.062 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.4192, allocations: 4 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 8.101e-05/0.4193, allocations: 105.8 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/0.4193, allocations: 11.84 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001258/0.4194, allocations: 53.19 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.4194, allocations: 3.984 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.4195, allocations: 3.938 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.4195, allocations: 0 / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.4196, allocations: 153.7 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4196, allocations: 4 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.328e-05/0.4196, allocations: 4 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.4197, allocations: 3.938 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.4197, allocations: 4 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.4197, allocations: 3.938 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4197, allocations: 3.938 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.4198, allocations: 77.11 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.76e-05/0.4199, allocations: 77.17 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.4199, allocations: 11.94 kB / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.475e-05/0.4199, allocations: 4 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.403e-05/0.42, allocations: 4.031 kB / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.42, allocations: 0 / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.38e-05/0.42, allocations: 87.2 kB / 1.072 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.42, allocations: 0 / 1.072 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002176/0.4203, allocations: 27.94 kB / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002153/0.4205, allocations: 131.8 kB / 1.072 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.669e-05/0.4206, allocations: 16 kB / 1.072 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4206, allocations: 4 kB / 1.072 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.946e-05/0.4206, allocations: 15.92 kB / 1.072 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.4208, allocations: 4.547 kB / 1.072 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002647/0.421, allocations: 117.4 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.4213, allocations: 0.6768 MB / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.698e-05/0.4213, allocations: 8.125 kB / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.541e-05/0.4214, allocations: 7.438 kB / 1.073 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.4214, allocations: 4 kB / 1.073 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of Templates: time 0.003858/0.4252, allocations: 1.205 MB / 1.074 GB, free: 3.355 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./Buildings_1.6_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)