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.001296/0.001296, allocations: 114.6 kB / 16.42 MB, free: 6.496 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.001203/0.001203, allocations: 186.6 kB / 17.35 MB, free: 5.762 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.489/1.489, 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.002078/0.002078, allocations: 298.2 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9468/0.9468, allocations: 169.3 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 91.86 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.514/0.5159, allocations: 86.97 MB / 0.767 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001515/0.5175, allocations: 0.5343 MB / 0.7676 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006041/0.5181, allocations: 326.9 kB / 0.7679 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.019e-05/0.5181, allocations: 0 / 0.7679 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.185e-05/0.5181, allocations: 0 / 0.7679 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.599e-05/0.5182, allocations: 0 / 0.7679 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003862/0.5186, allocations: 99.69 kB / 0.768 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.801e-05/0.5186, allocations: 12 kB / 0.768 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.643e-05/0.5187, allocations: 0 / 0.768 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.228e-05/0.5187, allocations: 11.92 kB / 0.768 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.724e-05/0.5188, allocations: 0 / 0.768 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.5188, allocations: 4 kB / 0.768 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002903/0.5191, allocations: 187.8 kB / 0.7682 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.5191, allocations: 0 / 0.7682 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.673e-05/0.5191, allocations: 11.92 kB / 0.7682 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.5193, allocations: 83.8 kB / 0.7683 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.5193, allocations: 0 / 0.7683 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.154e-06/0.5193, allocations: 3.938 kB / 0.7683 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.5193, allocations: 4 kB / 0.7683 GB, free: 2.66 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.0003517/0.5197, allocations: 343.2 kB / 0.7686 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.5197, allocations: 8.031 kB / 0.7686 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.702e-05/0.5198, allocations: 4.844 kB / 0.7686 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.5199, allocations: 164.4 kB / 0.7688 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.5199, allocations: 4.312 kB / 0.7688 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.5199, allocations: 384 / 0.7688 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.52, allocations: 38.25 kB / 0.7688 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.5201, allocations: 4.188 kB / 0.7688 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.5201, allocations: 3.938 kB / 0.7688 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.5201, allocations: 4 kB / 0.7688 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.185e-05/0.5201, allocations: 0 / 0.7688 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.5203, allocations: 153.7 kB / 0.769 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.23e-05/0.5203, allocations: 22.55 kB / 0.769 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.226e-05/0.5204, allocations: 12.91 kB / 0.769 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005955/0.521, allocations: 0.5739 MB / 0.7696 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.521, allocations: 38.55 kB / 0.7696 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.521, allocations: 0 / 0.7696 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005026/0.5215, allocations: 258.4 kB / 0.7699 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/0.5215, allocations: 51.41 kB / 0.7699 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.259e-05/0.5216, allocations: 93.86 kB / 0.77 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.5216, allocations: 29.7 kB / 0.77 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.632e-05/0.5217, allocations: 84.14 kB / 0.7701 GB, free: 432 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.5217, allocations: 14.41 kB / 0.7701 GB, free: 420 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.5218, allocations: 17.72 kB / 0.7701 GB, free: 396 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.5219, allocations: 314.9 kB / 0.7704 GB, free: 72 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.144e-05/0.5219, allocations: 4 kB / 0.7704 GB, free: 68 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.984e-05/0.5219, allocations: 33.58 kB / 0.7705 GB, free: 28 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.302e-05/0.522, allocations: 21.72 kB / 0.7705 GB, free: 0 / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.522, allocations: 0 / 0.7705 GB, free: 0 / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.906e-05/0.5221, allocations: 57.53 kB / 0.7705 GB, free: 15.94 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.5221, allocations: 8.062 kB / 0.7706 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.5221, allocations: 7.938 kB / 0.7706 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.5222, allocations: 0 / 0.7706 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.922e-05/0.5222, allocations: 4 kB / 0.7706 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.5222, allocations: 4 kB / 0.7706 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.43e-05/0.5222, allocations: 0 / 0.7706 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.5223, allocations: 0 / 0.7706 GB, free: 15.91 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 7.679e-05/0.5223, allocations: 116.2 kB / 0.7707 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.5224, allocations: 3.984 kB / 0.7707 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.5225, allocations: 61.39 kB / 0.7707 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.5225, allocations: 4.031 kB / 0.7707 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.5225, allocations: 0 / 0.7707 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-05/0.5225, allocations: 81.11 kB / 0.7708 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.5226, allocations: 0 / 0.7708 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.409e-05/0.5226, allocations: 0 / 0.7708 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.472e-05/0.5226, allocations: 11.98 kB / 0.7708 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001351/0.5228, allocations: 124.9 kB / 0.771 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001677/0.5229, allocations: 242.6 kB / 0.7712 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.223e-05/0.523, allocations: 4.031 kB / 0.7712 GB, free: 15.22 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.496e-05/0.523, allocations: 83.28 kB / 0.7713 GB, free: 15.14 MB / 0.545 GB Notification: Performance of Backend: time 2.7e-07/0.523, allocations: 0 / 0.7713 GB, free: 15.14 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004137/0.5234, allocations: 112 kB / 0.7714 GB, free: 15.02 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003553/0.5238, allocations: 0.5535 MB / 0.7719 GB, free: 14.42 MB / 0.545 GB Notification: Performance of Templates: time 0.003495/0.5273, allocations: 1.285 MB / 0.7732 GB, free: 13.17 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)