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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7688/0.7688, allocations: 143.4 MB / 159.2 MB, free: 4.859 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 186.9 kB / 191.9 MB, free: 5.738 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 447.3 MB, free: 5.891 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 99.75 kB / 0.517 GB, free: 3.738 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001837/0.001837, allocations: 283.4 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 79.88 kB / 0.6885 GB, free: 3.836 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3157, allocations: 81.29 MB / 0.7679 GB, free: 27.67 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001459/0.3172, allocations: 0.6046 MB / 0.7685 GB, free: 27.07 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.000546/0.3178, allocations: 349 kB / 0.7688 GB, free: 26.73 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.287e-05/0.3178, allocations: 0 / 0.7688 GB, free: 26.73 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.358e-05/0.3178, allocations: 0 / 0.7688 GB, free: 26.73 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 2.209e-05/0.3179, allocations: 3.938 kB / 0.7689 GB, free: 26.73 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000257/0.3181, allocations: 67.84 kB / 0.7689 GB, free: 26.66 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 3.834e-05/0.3182, allocations: 8 kB / 0.7689 GB, free: 26.65 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.742e-05/0.3182, allocations: 7.984 kB / 0.7689 GB, free: 26.64 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.541e-05/0.3182, allocations: 4 kB / 0.7689 GB, free: 26.64 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.917e-05/0.3183, allocations: 3.938 kB / 0.7689 GB, free: 26.64 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.3183, allocations: 0 / 0.7689 GB, free: 26.64 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002148/0.3185, allocations: 187.8 kB / 0.7691 GB, free: 26.45 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.183e-05/0.3185, allocations: 7.984 kB / 0.7691 GB, free: 26.45 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 1.716e-05/0.3186, allocations: 4 kB / 0.7691 GB, free: 26.44 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.3187, allocations: 83.8 kB / 0.7692 GB, free: 26.36 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3187, allocations: 0 / 0.7692 GB, free: 26.36 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.3187, allocations: 0 / 0.7692 GB, free: 26.36 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.955e-06/0.3187, allocations: 0 / 0.7692 GB, free: 26.36 MB / 458.7 MB 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.0002461/0.319, allocations: 338.3 kB / 0.7695 GB, free: 25.98 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.319, allocations: 8.031 kB / 0.7695 GB, free: 25.97 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.751e-05/0.319, allocations: 4.844 kB / 0.7695 GB, free: 25.97 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.563e-05/0.3191, allocations: 172.4 kB / 0.7697 GB, free: 25.76 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.574e-06/0.3191, allocations: 4.375 kB / 0.7697 GB, free: 25.76 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.3191, allocations: 8.312 kB / 0.7697 GB, free: 25.75 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.107e-05/0.3192, allocations: 30.27 kB / 0.7698 GB, free: 25.71 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.3192, allocations: 192 / 0.7698 GB, free: 25.71 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.3192, allocations: 3.938 kB / 0.7698 GB, free: 25.71 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.3193, allocations: 4 kB / 0.7698 GB, free: 25.71 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.811e-05/0.3193, allocations: 3.984 kB / 0.7698 GB, free: 25.7 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001013/0.3194, allocations: 149.7 kB / 0.7699 GB, free: 25.51 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.425e-05/0.3194, allocations: 30.59 kB / 0.7699 GB, free: 25.47 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.418e-05/0.3194, allocations: 12.86 kB / 0.7699 GB, free: 25.45 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004119/0.3199, allocations: 0.5777 MB / 0.7705 GB, free: 24.75 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.3199, allocations: 38.56 kB / 0.7705 GB, free: 24.7 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3199, allocations: 4 kB / 0.7706 GB, free: 24.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003555/0.3203, allocations: 250.2 kB / 0.7708 GB, free: 24.4 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.865e-05/0.3203, allocations: 51.41 kB / 0.7708 GB, free: 24.34 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.59e-05/0.3203, allocations: 97.86 kB / 0.7709 GB, free: 24.23 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.3203, allocations: 29.7 kB / 0.771 GB, free: 24.2 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.657e-05/0.3204, allocations: 84.12 kB / 0.771 GB, free: 24.11 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.3204, allocations: 20.05 kB / 0.7711 GB, free: 24.09 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/0.3204, allocations: 13.72 kB / 0.7711 GB, free: 24.07 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 3.689e-05/0.3205, allocations: 314.8 kB / 0.7714 GB, free: 23.75 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.569e-05/0.3205, allocations: 7.984 kB / 0.7714 GB, free: 23.75 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.246e-05/0.3205, allocations: 21.72 kB / 0.7714 GB, free: 23.72 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.542e-05/0.3205, allocations: 29.66 kB / 0.7714 GB, free: 23.68 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3206, allocations: 4 kB / 0.7714 GB, free: 23.68 MB / 458.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.534e-05/0.3206, allocations: 49.69 kB / 0.7715 GB, free: 23.62 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.3206, allocations: 7.938 kB / 0.7715 GB, free: 23.62 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.3207, allocations: 7.938 kB / 0.7715 GB, free: 23.61 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.3207, allocations: 0 / 0.7715 GB, free: 23.61 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.289e-05/0.3207, allocations: 8 kB / 0.7715 GB, free: 23.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.768e-06/0.3207, allocations: 0 / 0.7715 GB, free: 23.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.264e-05/0.3207, allocations: 4 kB / 0.7715 GB, free: 23.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.3208, allocations: 3.984 kB / 0.7715 GB, free: 23.59 MB / 458.7 MB 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 4.392e-05/0.3208, allocations: 113.9 kB / 0.7716 GB, free: 23.47 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-06/0.3208, allocations: 7.844 kB / 0.7716 GB, free: 23.46 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.769e-05/0.3209, allocations: 53.19 kB / 0.7717 GB, free: 23.41 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.3209, allocations: 3.938 kB / 0.7717 GB, free: 23.4 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.3209, allocations: 0 / 0.7717 GB, free: 23.4 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.321, allocations: 4.375 kB / 0.7717 GB, free: 23.4 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.508e-05/0.321, allocations: 153.7 kB / 0.7718 GB, free: 23.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3211, allocations: 0 / 0.7718 GB, free: 23.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.234e-05/0.3211, allocations: 7.984 kB / 0.7718 GB, free: 23.19 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.3211, allocations: 11.88 kB / 0.7719 GB, free: 23.18 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.79e-06/0.3212, allocations: 0 / 0.7719 GB, free: 23.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3212, allocations: 0 / 0.7719 GB, free: 23.18 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3212, allocations: 4 kB / 0.7719 GB, free: 23.18 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002134/0.3233, allocations: 1.147 MB / 0.773 GB, free: 21.87 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.515e-05/0.3233, allocations: 85.11 kB / 0.7731 GB, free: 21.77 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.211e-06/0.3233, allocations: 0 / 0.7731 GB, free: 21.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.144e-05/0.3234, allocations: 0 / 0.7731 GB, free: 21.77 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.6e-05/0.3234, allocations: 8.016 kB / 0.7731 GB, free: 21.76 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.3234, allocations: 0 / 0.7731 GB, free: 21.76 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.827e-05/0.3234, allocations: 83.28 kB / 0.7731 GB, free: 21.68 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3234, allocations: 0 / 0.7731 GB, free: 21.68 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002715/0.3237, allocations: 28 kB / 0.7732 GB, free: 21.65 MB / 458.7 MB 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.0001605/0.3239, allocations: 123.8 kB / 0.7733 GB, free: 21.52 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 6.647e-05/0.324, allocations: 23.92 kB / 0.7733 GB, free: 21.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.324, allocations: 0 / 0.7733 GB, free: 21.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.346e-05/0.324, allocations: 8 kB / 0.7733 GB, free: 21.49 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.3241, allocations: 3.938 kB / 0.7733 GB, free: 21.48 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002054/0.3243, allocations: 222.2 kB / 0.7735 GB, free: 21.23 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.908e-05/0.3244, allocations: 0.6809 MB / 0.7742 GB, free: 20.52 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.195e-05/0.3245, allocations: 4.125 kB / 0.7742 GB, free: 20.52 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.132e-05/0.3245, allocations: 11.44 kB / 0.7742 GB, free: 20.5 MB / 458.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3245, allocations: 3.938 kB / 0.7742 GB, free: 20.5 MB / 458.7 MB Notification: Performance of Templates: time 0.002661/0.3271, allocations: 1.23 MB / 0.7754 GB, free: 19.3 MB / 458.7 MB 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)