Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7497/0.7497, allocations: 127.3 MB / 139.8 MB, free: 15.48 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001195/0.001195, allocations: 188.8 kB / 169.7 MB, free: 1.738 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.766/1.766, allocations: 205.1 MB / 404.5 MB, free: 1.582 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 89.92 kB / 481.8 MB, free: 4.238 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.997e-05/3.999e-05, allocations: 0 / 0.5532 GB, free: 54.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1919, allocations: 76.76 MB / 0.6282 GB, free: 10.02 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.622/0.8139, allocations: 102.4 MB / 0.7281 GB, free: 11 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/0.8143, allocations: 78.95 kB / 0.7282 GB, free: 10.96 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00618/0.8205, allocations: 1.87 MB / 0.73 GB, free: 9.297 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.8205, allocations: 0 / 0.73 GB, free: 9.297 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.8205, allocations: 0 / 0.73 GB, free: 9.297 MB / 490.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.0003188/0.8208, allocations: 341.1 kB / 0.7304 GB, free: 8.922 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.8209, allocations: 8.031 kB / 0.7304 GB, free: 8.914 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.8209, allocations: 7.953 kB / 0.7304 GB, free: 8.906 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.8211, allocations: 167 kB / 0.7305 GB, free: 8.703 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.8211, allocations: 0 / 0.7305 GB, free: 8.703 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.8211, allocations: 3.188 kB / 0.7306 GB, free: 8.703 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.8213, allocations: 37.64 kB / 0.7306 GB, free: 8.66 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.8213, allocations: 0 / 0.7306 GB, free: 8.66 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.8213, allocations: 0 / 0.7306 GB, free: 8.66 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.8213, allocations: 4 kB / 0.7306 GB, free: 8.656 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.507e-05/0.8213, allocations: 4 kB / 0.7306 GB, free: 8.652 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001874/0.8215, allocations: 155.2 kB / 0.7307 GB, free: 8.457 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.104e-05/0.8216, allocations: 22.61 kB / 0.7308 GB, free: 8.426 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.141e-05/0.8216, allocations: 8.797 kB / 0.7308 GB, free: 8.414 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005979/0.8222, allocations: 0.5806 MB / 0.7313 GB, free: 7.707 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.8223, allocations: 34.56 kB / 0.7314 GB, free: 7.664 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.8223, allocations: 0 / 0.7314 GB, free: 7.664 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005697/0.8229, allocations: 255 kB / 0.7316 GB, free: 7.375 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.8229, allocations: 51.41 kB / 0.7317 GB, free: 7.312 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.324e-05/0.823, allocations: 100.2 kB / 0.7318 GB, free: 7.211 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.823, allocations: 29.64 kB / 0.7318 GB, free: 7.176 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.208e-05/0.8231, allocations: 84.08 kB / 0.7319 GB, free: 7.09 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.8231, allocations: 11.03 kB / 0.7319 GB, free: 7.082 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-06/0.8231, allocations: 0 / 0.7319 GB, free: 7.082 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.8232, allocations: 314.8 kB / 0.7322 GB, free: 6.766 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.709e-05/0.8233, allocations: 7.062 kB / 0.7322 GB, free: 6.762 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.101e-05/0.8233, allocations: 21.7 kB / 0.7322 GB, free: 6.734 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.286e-05/0.8233, allocations: 6.938 kB / 0.7322 GB, free: 6.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.8233, allocations: 4 kB / 0.7322 GB, free: 6.727 MB / 490.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.052e-05/0.8234, allocations: 56.59 kB / 0.7323 GB, free: 6.668 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.8235, allocations: 4 kB / 0.7323 GB, free: 6.664 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.8235, allocations: 0 / 0.7323 GB, free: 6.664 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.8235, allocations: 64 / 0.7323 GB, free: 6.664 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.624e-05/0.8236, allocations: 12 kB / 0.7323 GB, free: 6.652 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.8236, allocations: 0 / 0.7323 GB, free: 6.652 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.356e-05/0.8236, allocations: 0 / 0.7323 GB, free: 6.652 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.8236, allocations: 6.938 kB / 0.7323 GB, free: 6.648 MB / 490.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.236e-05/0.8237, allocations: 112 kB / 0.7324 GB, free: 6.535 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.534e-06/0.8237, allocations: 0 / 0.7324 GB, free: 6.535 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/0.8238, allocations: 56.55 kB / 0.7325 GB, free: 6.477 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.8239, allocations: 0 / 0.7325 GB, free: 6.477 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.8239, allocations: 4 kB / 0.7325 GB, free: 6.473 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.8239, allocations: 0 / 0.7325 GB, free: 6.473 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.824, allocations: 161.4 kB / 0.7326 GB, free: 6.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.824, allocations: 0 / 0.7326 GB, free: 6.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.661e-05/0.8241, allocations: 8 kB / 0.7326 GB, free: 6.262 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.8241, allocations: 0 / 0.7326 GB, free: 6.262 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.8241, allocations: 0 / 0.7326 GB, free: 6.262 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.8241, allocations: 0 / 0.7326 GB, free: 6.262 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.8241, allocations: 0 / 0.7326 GB, free: 6.262 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.8243, allocations: 92.25 kB / 0.7327 GB, free: 6.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.865e-05/0.8243, allocations: 81.02 kB / 0.7328 GB, free: 6.062 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.8243, allocations: 3.188 kB / 0.7328 GB, free: 6.062 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.023e-05/0.8244, allocations: 0 / 0.7328 GB, free: 6.062 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.504e-05/0.8244, allocations: 4.031 kB / 0.7328 GB, free: 6.059 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-06/0.8244, allocations: 0 / 0.7328 GB, free: 6.059 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.802e-05/0.8245, allocations: 79.28 kB / 0.7329 GB, free: 5.98 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.8245, allocations: 7.875 kB / 0.7329 GB, free: 5.973 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002208/0.8247, allocations: 39.67 kB / 0.7329 GB, free: 5.938 MB / 490.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002358/0.8249, allocations: 139 kB / 0.733 GB, free: 5.793 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.839e-05/0.825, allocations: 19.38 kB / 0.7331 GB, free: 5.777 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.825, allocations: 0 / 0.7331 GB, free: 5.777 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.07e-05/0.8251, allocations: 8.516 kB / 0.7331 GB, free: 5.77 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001077/0.8252, allocations: 5.781 kB / 0.7331 GB, free: 5.766 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002092/0.8254, allocations: 75.45 kB / 0.7331 GB, free: 5.676 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.8257, allocations: 0.685 MB / 0.7338 GB, free: 4.965 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.61e-05/0.8257, allocations: 4 kB / 0.7338 GB, free: 4.961 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.813e-05/0.8257, allocations: 7.438 kB / 0.7338 GB, free: 4.953 MB / 490.7 MB Notification: Performance of SimCode: time 2.2e-07/0.8257, allocations: 0 / 0.7338 GB, free: 4.953 MB / 490.7 MB Notification: Performance of Templates: time 0.003243/0.829, allocations: 1.075 MB / 0.7349 GB, free: 3.922 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)