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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 80.44 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 171.4 kB / 22.46 MB, free: 5.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.42/1.42, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002585/0.002585, allocations: 245.1 kB / 259.4 MB, free: 472 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.058/1.058, allocations: 138.4 MB / 454.3 MB, free: 2.004 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.6468 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.396e-05, allocations: 6.281 kB / 0.6468 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001472/0.001496, allocations: 0.5481 MB / 0.6473 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006491/0.002145, allocations: 308.2 kB / 0.6476 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.413e-05/0.002169, allocations: 0 / 0.6476 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.613e-05/0.002185, allocations: 0 / 0.6476 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.492e-05/0.00221, allocations: 7.938 kB / 0.6476 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004037/0.002614, allocations: 103.6 kB / 0.6477 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.831e-05/0.002662, allocations: 4 kB / 0.6477 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.435e-05/0.002716, allocations: 15.97 kB / 0.6477 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.788e-05/0.002744, allocations: 4 kB / 0.6477 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.251e-05/0.002787, allocations: 3.938 kB / 0.6478 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.0028, allocations: 4 kB / 0.6478 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003234/0.003124, allocations: 179.8 kB / 0.6479 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.509e-05/0.003139, allocations: 11.92 kB / 0.6479 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.468e-05/0.003154, allocations: 0 / 0.6479 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.003355, allocations: 107.7 kB / 0.648 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.003358, allocations: 0 / 0.648 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.02e-07/0.003359, allocations: 0 / 0.648 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.216e-06/0.003367, allocations: 0 / 0.648 GB, free: 3.77 MB / 0.5606 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.000365/0.003732, allocations: 262.2 kB / 0.6483 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.00377, allocations: 12.75 kB / 0.6483 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.098e-05/0.003801, allocations: 16.77 kB / 0.6483 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.003919, allocations: 109.8 kB / 0.6484 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-06/0.003928, allocations: 4.375 kB / 0.6484 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.003951, allocations: 384 / 0.6484 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.004069, allocations: 55.97 kB / 0.6485 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.004077, allocations: 192 / 0.6485 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.004088, allocations: 4.359 kB / 0.6485 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.004092, allocations: 4.375 kB / 0.6485 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.554e-05/0.004118, allocations: 7.922 kB / 0.6485 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001469/0.004264, allocations: 101.3 kB / 0.6486 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.422e-05/0.004319, allocations: 26.55 kB / 0.6486 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.256e-05/0.004341, allocations: 12.92 kB / 0.6486 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00134/0.005681, allocations: 183.8 kB / 0.6488 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.005711, allocations: 30.56 kB / 0.6488 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.005713, allocations: 0 / 0.6488 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0004607/0.006173, allocations: 177.2 kB / 0.649 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.00621, allocations: 51.41 kB / 0.6491 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.703e-05/0.006298, allocations: 101.8 kB / 0.6492 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.006316, allocations: 25.92 kB / 0.6492 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.616e-05/0.006362, allocations: 92.12 kB / 0.6493 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.006384, allocations: 11.91 kB / 0.6493 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.006427, allocations: 17.72 kB / 0.6493 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.006571, allocations: 314.8 kB / 0.6496 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.954e-05/0.006591, allocations: 4 kB / 0.6496 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.463e-05/0.006625, allocations: 17.72 kB / 0.6496 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.239e-05/0.006678, allocations: 33.64 kB / 0.6496 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.006679, allocations: 0 / 0.6496 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.367e-05/0.006772, allocations: 53.64 kB / 0.6497 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.006784, allocations: 4 kB / 0.6497 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.006791, allocations: 4 kB / 0.6497 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.006803, allocations: 0 / 0.6497 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.103e-05/0.006865, allocations: 11.92 kB / 0.6497 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.006873, allocations: 7.938 kB / 0.6497 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.373e-05/0.006886, allocations: 0 / 0.6497 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.006895, allocations: 7.938 kB / 0.6497 GB, free: 1.82 MB / 0.5606 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.796e-05/0.006983, allocations: 109.8 kB / 0.6498 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.869e-06/0.006993, allocations: 0 / 0.6498 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.007114, allocations: 61.31 kB / 0.6499 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.00712, allocations: 4 kB / 0.6499 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.007126, allocations: 3.984 kB / 0.6499 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.00713, allocations: 3.938 kB / 0.6499 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.007232, allocations: 101.3 kB / 0.65 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.007235, allocations: 4 kB / 0.65 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.568e-05/0.00728, allocations: 4 kB / 0.65 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.007282, allocations: 0 / 0.65 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.007291, allocations: 4 kB / 0.65 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.007294, allocations: 3.984 kB / 0.65 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.007295, allocations: 0 / 0.65 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.007432, allocations: 85.39 kB / 0.6501 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.929e-06/0.007442, allocations: 8.062 kB / 0.6501 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.007453, allocations: 0 / 0.6501 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.513e-05/0.007488, allocations: 0 / 0.6501 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.627e-05/0.007504, allocations: 11.92 kB / 0.6501 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.007508, allocations: 0 / 0.6501 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.819e-05/0.007557, allocations: 87.22 kB / 0.6502 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.007557, allocations: 0 / 0.6502 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002313/0.007788, allocations: 23.94 kB / 0.6502 GB, free: 1.246 MB / 0.5606 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.000226/0.008014, allocations: 131.2 kB / 0.6503 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.628e-05/0.0081, allocations: 19.98 kB / 0.6504 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.008103, allocations: 0 / 0.6504 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.184e-05/0.008124, allocations: 11.94 kB / 0.6504 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.00827, allocations: 4 kB / 0.6504 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000262/0.008532, allocations: 108.8 kB / 0.6505 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.367e-05/0.008596, allocations: 67.28 kB / 0.6506 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.28e-05/0.008619, allocations: 4 kB / 0.6506 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.957e-05/0.008638, allocations: 12.62 kB / 0.6506 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.008639, allocations: 0 / 0.6506 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of Templates: time 0.2458/0.2544, allocations: 1.263 MB / 0.6518 GB, free: 56.39 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.791072208434343] Failed to read output from testmodel.py, exit status != 0: 0.26215797662734985 0.27133966600000003 0.265751224 Calling exit ...