Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.0008075/0.0008075, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0009702/0.0009702, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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 0.8977/0.8977, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.815/1.815, allocations: 389.1 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.733e-05/1.928e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001304/0.001324, allocations: 0.5941 MB / 1 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0005992/0.001923, allocations: 306.8 kB / 1.001 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.662e-05/0.001949, allocations: 3.938 kB / 1.001 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.758e-05/0.001967, allocations: 0 / 1.001 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 1.984e-05/0.001987, allocations: 0 / 1.001 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005113/0.002498, allocations: 119.6 kB / 1.001 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.099e-05/0.002559, allocations: 15.98 kB / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.36e-05/0.002603, allocations: 0 / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.585e-05/0.002639, allocations: 7.938 kB / 1.001 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.435e-05/0.002693, allocations: 0 / 1.001 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.00271, allocations: 3.938 kB / 1.001 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003828/0.003093, allocations: 267.6 kB / 1.001 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.704e-05/0.00311, allocations: 0 / 1.001 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.826e-05/0.003128, allocations: 12 kB / 1.001 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.003358, allocations: 119.7 kB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.003361, allocations: 0 / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.71e-07/0.003362, allocations: 0 / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.003367, allocations: 0 / 1.001 GB, free: 12.02 MB / 0.9636 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.0003174/0.003684, allocations: 268.4 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.003722, allocations: 12.75 kB / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.68e-05/0.003749, allocations: 34.69 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.759e-05/0.003796, allocations: 0.9375 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.9e-05/0.003875, allocations: 113.8 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.003885, allocations: 4.375 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.003902, allocations: 384 / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.437e-05/0.003996, allocations: 59.95 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.004003, allocations: 192 / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.00401, allocations: 4.375 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.004018, allocations: 8.125 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.774e-05/0.004035, allocations: 3.938 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001312/0.004167, allocations: 124.8 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.433e-05/0.004211, allocations: 22.61 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.435e-05/0.004225, allocations: 8.922 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003476/0.004573, allocations: 79.91 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.004596, allocations: 30.56 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.004596, allocations: 0 / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0004212/0.005018, allocations: 177.2 kB / 1.002 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.005047, allocations: 55.41 kB / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.733e-05/0.005094, allocations: 93.86 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.005106, allocations: 29.7 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.782e-05/0.005134, allocations: 80.14 kB / 1.002 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.005158, allocations: 19.77 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.722e-05/0.005185, allocations: 17.72 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.886e-05/0.005264, allocations: 314.8 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.234e-05/0.005277, allocations: 8.344 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.51e-05/0.005302, allocations: 25.7 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.435e-05/0.005336, allocations: 21.72 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.005337, allocations: 0 / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.06e-05/0.005397, allocations: 53.62 kB / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.005409, allocations: 8 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.005414, allocations: 0 / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.005426, allocations: 3.938 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.977e-05/0.005465, allocations: 4 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.00547, allocations: 8.062 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.173e-05/0.005481, allocations: 7.938 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.005487, allocations: 0 / 1.003 GB, free: 10.12 MB / 0.9636 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 4.795e-05/0.005535, allocations: 109.8 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.164e-05/0.005546, allocations: 3.953 kB / 1.003 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.00565, allocations: 65.28 kB / 1.003 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.005652, allocations: 3.938 kB / 1.003 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.005656, allocations: 4 kB / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.005659, allocations: 192 / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.463e-05/0.005734, allocations: 124.8 kB / 1.003 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.005734, allocations: 0 / 1.003 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.531e-05/0.00577, allocations: 4 kB / 1.003 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.005772, allocations: 3.984 kB / 1.003 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-06/0.005777, allocations: 0 / 1.003 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.00578, allocations: 7.938 kB / 1.003 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.00578, allocations: 0 / 1.003 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.907e-05/0.005869, allocations: 77.06 kB / 1.003 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.55e-06/0.005875, allocations: 3.984 kB / 1.003 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.268e-06/0.005884, allocations: 4.031 kB / 1.003 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.966e-05/0.005904, allocations: 8 kB / 1.003 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.856e-05/0.005922, allocations: 8 kB / 1.003 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.005927, allocations: 4 kB / 1.003 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.197e-05/0.005949, allocations: 75.28 kB / 1.003 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.005949, allocations: 0 / 1.003 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001423/0.006091, allocations: 27.92 kB / 1.003 GB, free: 9.508 MB / 0.9636 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.0003302/0.006422, allocations: 0.6397 MB / 1.004 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 6.427e-05/0.006486, allocations: 15.98 kB / 1.004 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.006488, allocations: 8.219 kB / 1.004 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.156e-05/0.0065, allocations: 8 kB / 1.004 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001061/0.006606, allocations: 3.938 kB / 1.004 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006438/0.00725, allocations: 1.132 MB / 1.005 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.054e-05/0.00728, allocations: 63.28 kB / 1.005 GB, free: 7.5 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.83e-05/0.007299, allocations: 4 kB / 1.005 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.169e-05/0.00732, allocations: 12.5 kB / 1.005 GB, free: 7.484 MB / 0.9636 GB Notification: Performance of SimCode: time 4.21e-07/0.007321, allocations: 4.062 kB / 1.005 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0152/0.02252, allocations: 2.382 MB / 1.007 GB, free: 5.254 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.799/6.822, allocations: 12.09 kB / 1.007 GB, free: 5.246 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.91885391715914]