Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001365/0.001365, allocations: 106.5 kB / 16.41 MB, free: 6.512 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.001357/0.001357, allocations: 187 kB / 17.34 MB, free: 5.742 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.293/1.293, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002111/0.002111, allocations: 290.4 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9633/0.9633, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 95.86 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5109/0.5127, allocations: 86.98 MB / 0.767 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001828/0.5146, allocations: 0.53 MB / 0.7676 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00068/0.5153, allocations: 319 kB / 0.7679 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.01e-05/0.5154, allocations: 0 / 0.7679 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.99e-05/0.5154, allocations: 3.938 kB / 0.7679 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.682e-05/0.5154, allocations: 0 / 0.7679 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004709/0.5159, allocations: 99.69 kB / 0.768 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.082e-05/0.516, allocations: 12 kB / 0.768 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.553e-05/0.516, allocations: 4 kB / 0.768 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.19e-05/0.5161, allocations: 7.922 kB / 0.768 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.55e-05/0.5161, allocations: 7.984 kB / 0.768 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.5161, allocations: 0 / 0.768 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003342/0.5165, allocations: 187.8 kB / 0.7682 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.343e-05/0.5165, allocations: 0 / 0.7682 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.316e-05/0.5165, allocations: 3.938 kB / 0.7682 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.5167, allocations: 87.78 kB / 0.7683 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.5167, allocations: 0 / 0.7683 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5167, allocations: 4 kB / 0.7683 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.5167, allocations: 4 kB / 0.7683 GB, free: 2.684 MB / 0.5294 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.0004056/0.5171, allocations: 335.2 kB / 0.7686 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.5172, allocations: 12.03 kB / 0.7686 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.3e-05/0.5172, allocations: 4.844 kB / 0.7686 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.5174, allocations: 168.3 kB / 0.7688 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.5174, allocations: 384 / 0.7688 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.5174, allocations: 4.375 kB / 0.7688 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.724e-05/0.5175, allocations: 42.19 kB / 0.7688 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.5175, allocations: 8.172 kB / 0.7688 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.5176, allocations: 3.938 kB / 0.7688 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.5176, allocations: 0 / 0.7688 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.282e-05/0.5176, allocations: 4 kB / 0.7688 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001801/0.5178, allocations: 153.7 kB / 0.769 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.582e-05/0.5178, allocations: 18.58 kB / 0.769 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.329e-05/0.5179, allocations: 12.92 kB / 0.769 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006306/0.5185, allocations: 0.5817 MB / 0.7696 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.5185, allocations: 34.55 kB / 0.7696 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.5185, allocations: 0 / 0.7696 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005387/0.5191, allocations: 262.4 kB / 0.7699 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.5191, allocations: 51.41 kB / 0.7699 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.624e-05/0.5192, allocations: 93.86 kB / 0.77 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.5192, allocations: 25.7 kB / 0.77 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.936e-05/0.5193, allocations: 84.14 kB / 0.7701 GB, free: 448 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.5193, allocations: 14.42 kB / 0.7701 GB, free: 436 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.5193, allocations: 17.72 kB / 0.7701 GB, free: 412 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.5195, allocations: 314.9 kB / 0.7704 GB, free: 88 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.835e-05/0.5195, allocations: 4 kB / 0.7704 GB, free: 84 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.846e-05/0.5195, allocations: 21.7 kB / 0.7705 GB, free: 56 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.612e-05/0.5196, allocations: 29.66 kB / 0.7705 GB, free: 20 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.5196, allocations: 0 / 0.7705 GB, free: 20 kB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001049/0.5197, allocations: 53.66 kB / 0.7705 GB, free: 15.96 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.5197, allocations: 11.94 kB / 0.7705 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.5197, allocations: 0 / 0.7705 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.5198, allocations: 0 / 0.7705 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.115e-05/0.5198, allocations: 15.88 kB / 0.7706 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.5198, allocations: 0 / 0.7706 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.456e-05/0.5198, allocations: 0 / 0.7706 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.5199, allocations: 4 kB / 0.7706 GB, free: 15.93 MB / 0.545 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 9.419e-05/0.52, allocations: 109.8 kB / 0.7707 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.588e-05/0.52, allocations: 11.88 kB / 0.7707 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.5201, allocations: 57.17 kB / 0.7707 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.5201, allocations: 0 / 0.7707 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.5201, allocations: 0 / 0.7707 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.5201, allocations: 3.938 kB / 0.7707 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.5203, allocations: 153.7 kB / 0.7709 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5203, allocations: 4 kB / 0.7709 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.702e-05/0.5203, allocations: 4 kB / 0.7709 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.5203, allocations: 3.938 kB / 0.7709 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.5204, allocations: 0 / 0.7709 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.5204, allocations: 0 / 0.7709 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.5204, allocations: 7.984 kB / 0.7709 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.5205, allocations: 81.48 kB / 0.771 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.5206, allocations: 77.11 kB / 0.7711 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.5206, allocations: 3.938 kB / 0.7711 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.3e-05/0.5206, allocations: 0 / 0.7711 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/0.5207, allocations: 8.016 kB / 0.7711 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-06/0.5207, allocations: 4 kB / 0.7711 GB, free: 15.31 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.987e-05/0.5207, allocations: 83.34 kB / 0.7711 GB, free: 15.23 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5207, allocations: 3.938 kB / 0.7712 GB, free: 15.22 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002264/0.5209, allocations: 24 kB / 0.7712 GB, free: 15.2 MB / 0.545 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.0002215/0.5212, allocations: 127.2 kB / 0.7713 GB, free: 15.06 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.992e-05/0.5213, allocations: 19.98 kB / 0.7713 GB, free: 15.04 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5213, allocations: 0 / 0.7713 GB, free: 15.04 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.758e-05/0.5213, allocations: 8 kB / 0.7713 GB, free: 15.04 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.5215, allocations: 8.812 kB / 0.7713 GB, free: 15.03 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002834/0.5217, allocations: 143.2 kB / 0.7715 GB, free: 14.85 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.5221, allocations: 0.6768 MB / 0.7721 GB, free: 14.15 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.25e-05/0.5221, allocations: 11.44 kB / 0.7721 GB, free: 14.14 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.5221, allocations: 3.938 kB / 0.7721 GB, free: 14.13 MB / 0.545 GB Notification: Performance of Templates: time 0.002499/0.5246, allocations: 0.8318 MB / 0.773 GB, free: 13.3 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)